![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Public Types | |
enum class | ES3Bits { kPixelsSet = BIT(0) , kBit1 = BIT(1) , kBit2 = BIT(2) , kBit3 = BIT(3) , kBit4 = BIT(4) , kBit5 = BIT(5) , kBit6 = BIT(6) , kBit7 = BIT(7) } |
enum class | ES3GlobalBits { kPreSector = BIT(0) , kMultHit = BIT(1) , kKeepShared = BIT(2) , kGBit3 = BIT(3) } |
Public Member Functions | |
TS3 () | |
TS3 (const TS3 &) | |
TS3 (TS3 &&) noexcept=default | |
~TS3 () override=default | |
void | AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) override |
virtual void | AddHit (TDetectorHit *hit) |
void | BuildHits () override |
void | BuildPixels () |
void | Clear (Option_t *opt="all") override |
void | ClearTransients () override |
void | Copy (TObject &) const override |
virtual TDetectorHit * | GetHit (const int &index) const |
virtual const std::vector< TDetectorHit * > & | GetHitVector () const |
virtual Short_t | GetMultiplicity () const |
TS3Hit * | GetPixelHit (const int &i) |
Int_t | GetPixelMultiplicity () |
TS3Hit * | GetRingHit (const int &i) |
Short_t | GetRingMultiplicity () const |
TS3Hit * | GetS3Hit (const int &i) const |
TS3Hit * | GetSectorHit (const int &i) |
Short_t | GetSectorMultiplicity () const |
std::vector< TDetectorHit * > & | Hits () |
const std::vector< TDetectorHit * > & | Hits () const |
virtual bool | NoHits () const |
TS3 & | operator= (const TS3 &) |
TS3 & | operator= (TS3 &&) noexcept=default |
bool | PixelsSet () const |
void | Print (Option_t *opt="") const override |
void | Print (std::ostream &out) const override |
void | ResetRingsSectors () |
void | SetFrontBackEnergy (double de) |
void | SetFrontBackEOffset (double de) |
void | SetFrontBackTime (int time) |
void | SetPixels (bool flag=true) |
void | SetTargetDistance (double dist) |
Static Public Member Functions | |
static TVector3 | GetPosition (int ring, int sector, bool smear=false) |
static TVector3 | GetPosition (int ring, int sector, double offsetphi, double offsetZ, bool sectorsdownstream, bool smear=false) |
static bool | KeepShared () |
static bool | MultiHit () |
static bool | PreferenceSector (bool set=true) |
static bool | SectorPreference () |
static bool | SetKeepShared (bool set=true) |
static bool | SetMultiHit (bool set=true) |
Private Member Functions | |
void | ClearStatus () |
void | SetBitNumber (ES3Bits bit, Bool_t set=true) |
Bool_t | TestBitNumber (ES3Bits bit) const |
Static Private Member Functions | |
static void | SetGlobalBit (ES3GlobalBits bit, Bool_t set=true) |
static Bool_t | TestGlobalBit (ES3GlobalBits bit) |
Private Attributes | |
std::vector< TDetectorHit * > | fHits |
TTransientBits< UChar_t > | fS3Bits |
std::vector< TS3Hit > | fS3PixelHits |
std::vector< TS3Hit > | fS3RingHits |
std::vector< TS3Hit > | fS3SectorHits |
Static Private Attributes | |
static double | fFrontBackEnergy = 0.9 |
static double | fFrontBackOffset = 0 |
static Int_t | fFrontBackTime = 75 |
static TTransientBits< UShort_t > | fGlobalS3Bits = TTransientBits<UShort_t>(static_cast<std::underlying_type<TS3::ES3GlobalBits>::type>(TS3::ES3GlobalBits::kMultHit)) |
static double | fInnerDiameter = 22. |
static double | fOffsetPhiCon = 0.5 * TMath::Pi() |
static double | fOffsetPhiSet |
static double | fOuterDiameter = 70. |
static int | fRingNumber = 24 |
static int | fSectorNumber = 32 |
static double | fTargetDistance = 31. |
|
strong |
|
strong |
|
defaultnoexcept |
|
overridedefault |
|
overridevirtual |
!
This function creates TS3Hits for each fragment and stores them in separate front and back vectors
Reimplemented from TDetector.
Definition at line 50 of file TS3.cxx.
References TGRSIOptions::AnalysisOptions(), TMnemonic::CollectedCharge(), fS3RingHits, fS3SectorHits, TChannel::GetMnemonic(), TMnemonic::kN, TS3Hit::SetRingNumber(), TS3Hit::SetSectorNumber(), and TS3Hit::SetWavefit().
|
inlinevirtualinherited |
Definition at line 63 of file TDetector.h.
References TDetector::fHits.
Referenced by TAries::AddFragment(), TBgo::AddFragment(), TDescant::AddFragment(), TGenericDetector::AddFragment(), TLaBr::AddFragment(), TPaces::AddFragment(), TSceptar::AddFragment(), TSiLi::AddFragment(), TTAC::AddFragment(), TTigress::AddFragment(), TTip::AddFragment(), TTrific::AddFragment(), TZeroDegree::AddFragment(), TEmma::BuildHits(), TSharc2::BuildHits(), and TSharc::BuildHits().
|
inlineoverridevirtual |
void TS3::BuildPixels | ( | ) |
Loop over two vectors and build energy+time matching hits
If we have parts of hit left here they are possibly a shared strip hit not easy singles
Definition at line 96 of file TS3.cxx.
References fFrontBackEnergy, fFrontBackOffset, fFrontBackTime, fS3Bits, fS3PixelHits, fS3RingHits, fS3SectorHits, fSectorNumber, KeepShared(), kPixelsSet, MultiHit(), SectorPreference(), SetBitNumber(), TS3Hit::SetRingNumber(), TS3Hit::SetSectorNumber(), and TTransientBits< T >::TestBit().
Referenced by GetPixelMultiplicity().
|
override |
!
Definition at line 417 of file TS3.cxx.
References TDetector::Clear(), fS3PixelHits, fS3RingHits, fS3SectorHits, SetMultiHit(), and SetPixels().
Referenced by TS3().
|
inlineoverridevirtual |
!
Reimplemented from TDetector.
Definition at line 103 of file TS3.h.
References fS3Bits, fS3PixelHits, fS3RingHits, and fS3SectorHits.
|
override |
Definition at line 42 of file TS3.cxx.
References TDetector::Copy(), fS3PixelHits, fS3RingHits, and fS3SectorHits.
Referenced by TS3(), and operator=().
|
virtualinherited |
Reimplemented in TGriffin.
Definition at line 61 of file TDetector.cxx.
References TDetector::fHits.
Referenced by TSiLi::AddCluster(), TTigress::GetAddbackMultiplicity(), TAries::GetAriesHit(), TBgo::GetBgoHit(), TCSM::GetCSMHit(), TDescant::GetDescantHit(), TEagle::GetEagleHit(), TEmma::GetEmmaHit(), TGenericDetector::GetGenericDetectorHit(), TLaBrBgo::GetLaBrBgoHit(), TFippsLaBr::GetLaBrHit(), TLaBr::GetLaBrHit(), TPaces::GetPacesHit(), GetS3Hit(), TSceptar::GetSceptarHit(), TSharc2::GetSharc2Hit(), TSharc::GetSharcHit(), TSiLi::GetSiLiHit(), TFippsTAC::GetTACHit(), TTAC::GetTACHit(), TTdrClover::GetTdrCloverHit(), TTdrPlastic::GetTdrPlasticHit(), TTdrSiLi::GetTdrSiLiHit(), TTdrTigress::GetTdrTigressHit(), TTigress::GetTigressHit(), TTip::GetTipHit(), TTrific::GetTrificHit(), TZeroDegree::GetZeroDegreeHit(), MakeAnalysisHistograms(), and TTigress::Print().
|
inlinevirtualinherited |
Reimplemented in TGriffin.
Definition at line 75 of file TDetector.h.
References TDetector::fHits.
Referenced by TSuppressed::CreateSuppressed(), TSuppressed::CreateSuppressedAddback(), TFipps::FixCrossTalk(), TIfin::FixCrossTalk(), TFipps::GetAddbackMultiplicity(), TIfin::GetAddbackMultiplicity(), TTdrClover::GetAddbackMultiplicity(), TTdrTigress::GetAddbackMultiplicity(), TFipps::GetSuppressedAddbackMultiplicity(), TIfin::GetSuppressedAddbackMultiplicity(), TTdrClover::GetSuppressedAddbackMultiplicity(), TTdrTigress::GetSuppressedAddbackMultiplicity(), TFipps::GetSuppressedMultiplicity(), and TIfin::GetSuppressedMultiplicity().
|
inlinevirtualinherited |
Reimplemented in TGriffin.
Definition at line 73 of file TDetector.h.
References TDetector::fHits.
Referenced by TTigress::AddFragment(), ExampleEventHelper::Exec(), ExampleTreeHelper::Exec(), TimeWalkHelper::Exec(), AngularCorrelationSelector::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), TimeWalkSelector::FillHistograms(), TSiLi::GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TGriffin::GetLowGainMultiplicity(), TGriffin::GetMultiplicity(), TSharc::GetSize(), main(), MakeAnalysisHistograms(), TAries::Print(), TBgo::Print(), TDescant::Print(), TEmma::Print(), TFipps::Print(), TIfin::Print(), TLaBr::Print(), TPaces::Print(), TSceptar::Print(), TSiLi::Print(), TTAC::Print(), TTdrClover::Print(), TTdrTigress::Print(), TTigress::Print(), TTip::Print(), TTrific::Print(), and TZeroDegree::Print().
TS3Hit * TS3::GetPixelHit | ( | const int & | i | ) |
Definition at line 395 of file TS3.cxx.
References fS3PixelHits, and GetPixelMultiplicity().
Int_t TS3::GetPixelMultiplicity | ( | ) |
Definition at line 86 of file TS3.cxx.
References BuildPixels(), and fS3PixelHits.
Referenced by GetPixelHit().
|
static |
Definition at line 327 of file TS3.cxx.
References fOffsetPhiSet, fTargetDistance, and GetPosition().
Referenced by GetPosition(), TS3Hit::GetPosition(), TS3Hit::GetPosition(), and TS3Hit::GetPosition().
|
static |
Definition at line 332 of file TS3.cxx.
References fInnerDiameter, fOffsetPhiCon, fOuterDiameter, fRingNumber, and fSectorNumber.
TS3Hit * TS3::GetRingHit | ( | const int & | i | ) |
Definition at line 375 of file TS3.cxx.
References fS3RingHits, and GetRingMultiplicity().
|
inline |
|
inline |
Definition at line 67 of file TS3.h.
References TDetector::GetHit().
TS3Hit * TS3::GetSectorHit | ( | const int & | i | ) |
Definition at line 385 of file TS3.cxx.
References fS3SectorHits, and GetSectorMultiplicity().
|
inline |
|
inlineinherited |
Definition at line 78 of file TDetector.h.
References TDetector::fHits.
Referenced by TCSM::BuildHits(), TSharc::BuildHits(), TTigress::BuildHits(), TGriffin::GetHitVector(), TGriffin::GetHitVector(), TSharc2::GetSize(), TLaBr::GetSuppressedMultiplicity(), TGriffin::Print(), and TSiLi::UseFitCharge().
|
inlineinherited |
Definition at line 79 of file TDetector.h.
References TDetector::fHits.
|
inlinestatic |
!
Definition at line 89 of file TS3.h.
References kKeepShared, and TestGlobalBit().
Referenced by BuildPixels().
|
inlinestatic |
!
Definition at line 83 of file TS3.h.
References kMultHit, and TestGlobalBit().
Referenced by BuildPixels().
|
inlinevirtualinherited |
Definition at line 76 of file TDetector.h.
References TDetector::fHits.
Referenced by TTigress::BuildHits(), TTigress::GetAddbackMultiplicity(), and TLaBr::GetSuppressedMultiplicity().
|
inline |
Definition at line 91 of file TS3.h.
References kPixelsSet, and TestBitNumber().
|
inlinestatic |
|
override |
|
overridevirtual |
void TS3::ResetRingsSectors | ( | ) |
Definition at line 364 of file TS3.cxx.
References fS3RingHits, and fS3SectorHits.
|
inlinestatic |
!
Definition at line 77 of file TS3.h.
References kPreSector, and TestGlobalBit().
Referenced by BuildPixels().
|
private |
Definition at line 80 of file TS3.cxx.
References fS3Bits, and TTransientBits< T >::SetBit().
Referenced by BuildPixels(), and SetPixels().
|
inline |
Set fractional allowed energy difference.
Definition at line 51 of file TS3.h.
References fFrontBackEnergy, and SetPixels().
|
inline |
Set fractional allowed energy difference.
Definition at line 56 of file TS3.h.
References fFrontBackOffset, and SetPixels().
|
inline |
Set absolute allow time difference.
Definition at line 61 of file TS3.h.
References fFrontBackTime, and SetPixels().
|
inlinestaticprivate |
Definition at line 133 of file TS3.h.
References fGlobalS3Bits, and TTransientBits< T >::SetBit().
Referenced by PreferenceSector(), SetKeepShared(), and SetMultiHit().
|
inlinestatic |
|
inlinestatic |
!
Definition at line 78 of file TS3.h.
References kMultHit, and SetGlobalBit().
Referenced by Clear().
|
inline |
Definition at line 92 of file TS3.h.
References kPixelsSet, and SetBitNumber().
Referenced by Clear(), SetFrontBackEnergy(), SetFrontBackEOffset(), and SetFrontBackTime().
|
inline |
Definition at line 99 of file TS3.h.
References fTargetDistance.
|
inlineprivate |
Definition at line 130 of file TS3.h.
References fS3Bits, and TTransientBits< T >::TestBit().
Referenced by PixelsSet().
|
inlinestaticprivate |
Definition at line 134 of file TS3.h.
References fGlobalS3Bits, and TTransientBits< T >::TestBit().
Referenced by KeepShared(), MultiHit(), and SectorPreference().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Global Bit.
Definition at line 132 of file TS3.h.
Referenced by SetGlobalBit(), and TestGlobalBit().
|
privateinherited |
Definition at line 88 of file TDetector.h.
Referenced by TDetector::~TDetector(), TEagle::AddFragment(), TEaglePulser::AddFragment(), TFipps::AddFragment(), TFippsLaBr::AddFragment(), TFippsPulser::AddFragment(), TFippsTAC::AddFragment(), TIfin::AddFragment(), TTdrClover::AddFragment(), TTdrPlastic::AddFragment(), TTdrSiLi::AddFragment(), TTdrTigress::AddFragment(), TDetector::AddHit(), TDetector::Clear(), TDetector::ClearTransients(), TDetector::Copy(), TFipps::GetFippsHit(), TDetector::GetHit(), TDetector::GetHitVector(), TIfin::GetIfinHit(), TDetector::GetMultiplicity(), TFippsLaBr::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), TDetector::Hits(), TDetector::Hits(), TDetector::NoHits(), TDetector::Print(), TEagle::Print(), TEaglePulser::Print(), TFippsLaBr::Print(), TFippsTAC::Print(), TTdrPlastic::Print(), and TTdrSiLi::Print().
|
staticprivate |
|
staticprivate |
|
staticprivate |
!
Definition at line 141 of file TS3.h.
Referenced by GetPosition().
|
staticprivate |
|
staticprivate |
|
private |
flags for transient members
Definition at line 127 of file TS3.h.
Referenced by BuildPixels(), ClearStatus(), ClearTransients(), SetBitNumber(), and TestBitNumber().
|
private |
! transient vector to hold the on-the-fly calculated pixel hits
Definition at line 125 of file TS3.h.
Referenced by BuildPixels(), Clear(), ClearTransients(), Copy(), GetPixelHit(), and GetPixelMultiplicity().
|
private |
vector to store hits of the ring side
Definition at line 123 of file TS3.h.
Referenced by AddFragment(), BuildPixels(), Clear(), ClearTransients(), Copy(), GetRingHit(), GetRingMultiplicity(), and ResetRingsSectors().
|
private |
vector to store hits of the sector side
Definition at line 124 of file TS3.h.
Referenced by AddFragment(), BuildPixels(), Clear(), ClearTransients(), Copy(), GetSectorHit(), GetSectorMultiplicity(), and ResetRingsSectors().
|
staticprivate |
|
staticprivate |