![]() |
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 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 double | GetFrontBackEnergy () |
| static double | GetFrontBackOffset () |
| static Int_t | GetFrontBackTime () |
| 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_t<TS3::ES3GlobalBits>>(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. |
Inheritance diagram for TS3:
Collaboration diagram for TS3:
|
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 60 of file TDetector.h.
References TDetector::fHits.
Referenced by TAries::AddFragment(), TBgo::AddFragment(), TDemand::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 107 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=().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
virtualinherited |
Definition at line 84 of file TDetector.cxx.
References TDetector::fHits.
Referenced by TSiLi::AddCluster(), TTigress::GetAddbackMultiplicity(), TAries::GetAriesHit(), TBgo::GetBgoHit(), TCSM::GetCSMHit(), TDemand::GetDemandHit(), 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(), and TTigress::Print().
|
inlinevirtualinherited |
Definition at line 70 of file TDetector.h.
References TDetector::fHits.
Referenced by TTigress::AddFragment(), ComptonHists(), AlphanumericHelper::Exec(), ComptonPolarimetryHelper::Exec(), DirectoryHelper::Exec(), EfficiencyHelper::Exec(), ExampleEventHelper::Exec(), ExampleTreeHelper::Exec(), TacOffsetHelper::Exec(), TimeWalkHelper::Exec(), AlphanumericSelector::FillHistograms(), AngularCorrelationSelector::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), TimeWalkSelector::FillHistograms(), TSiLi::GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TSharc::GetSize(), main(), TAries::Print(), TBgo::Print(), TDemand::Print(), TDescant::Print(), TEmma::Print(), TFipps::Print(), TGriffin::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 71 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 74 of file TDetector.h.
References TDetector::fHits.
Referenced by TEagle::AddFragment(), TEaglePulser::AddFragment(), TFipps::AddFragment(), TFippsLaBr::AddFragment(), TFippsPulser::AddFragment(), TFippsTAC::AddFragment(), TGriffin::AddFragment(), TIfin::AddFragment(), TTdrClover::AddFragment(), TTdrPlastic::AddFragment(), TTdrSiLi::AddFragment(), TTdrTigress::AddFragment(), TCSM::BuildHits(), TSharc::BuildHits(), TTigress::BuildHits(), TSuppressed::CreateSuppressed(), TSuppressed::CreateSuppressedAddback(), TGriffin::FixCrossTalk(), TGriffin::GetAddbackMultiplicity(), TFipps::GetFippsHit(), TGriffin::GetGriffinHit(), TIfin::GetIfinHit(), TSharc2::GetSize(), TGriffin::GetSuppressedAddbackMultiplicity(), TFippsLaBr::GetSuppressedMultiplicity(), TGriffin::GetSuppressedMultiplicity(), TLaBr::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), TEagle::Print(), TEaglePulser::Print(), TFippsLaBr::Print(), TFippsTAC::Print(), TGriffin::Print(), TTdrPlastic::Print(), TTdrSiLi::Print(), and TSiLi::UseFitCharge().
|
inlineinherited |
Definition at line 75 of file TDetector.h.
References TDetector::fHits.
|
inlinestatic |
!
Definition at line 93 of file TS3.h.
References kKeepShared, and TestGlobalBit().
Referenced by BuildPixels().
|
inlinestatic |
!
Definition at line 87 of file TS3.h.
References kMultHit, and TestGlobalBit().
Referenced by BuildPixels().
|
inlinevirtualinherited |
Definition at line 72 of file TDetector.h.
References TDetector::fHits.
Referenced by TTigress::BuildHits(), TTigress::GetAddbackMultiplicity(), and TLaBr::GetSuppressedMultiplicity().
|
inline |
Definition at line 95 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 81 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 52 of file TS3.h.
References fFrontBackEnergy, and SetPixels().
|
inline |
Set fractional allowed energy difference.
Definition at line 57 of file TS3.h.
References fFrontBackOffset, and SetPixels().
|
inline |
Set absolute allow time difference.
Definition at line 62 of file TS3.h.
References fFrontBackTime, and SetPixels().
|
inlinestaticprivate |
Definition at line 137 of file TS3.h.
References fGlobalS3Bits, and TTransientBits< T >::SetBit().
Referenced by PreferenceSector(), SetKeepShared(), and SetMultiHit().
|
inlinestatic |
|
inlinestatic |
!
Definition at line 82 of file TS3.h.
References kMultHit, and SetGlobalBit().
Referenced by Clear().
|
inline |
Definition at line 96 of file TS3.h.
References kPixelsSet, and SetBitNumber().
Referenced by Clear(), SetFrontBackEnergy(), SetFrontBackEOffset(), and SetFrontBackTime().
|
inline |
Definition at line 103 of file TS3.h.
References fTargetDistance.
|
inlineprivate |
Definition at line 134 of file TS3.h.
References fS3Bits, and TTransientBits< T >::TestBit().
Referenced by PixelsSet().
|
inlinestaticprivate |
Definition at line 138 of file TS3.h.
References fGlobalS3Bits, and TTransientBits< T >::TestBit().
Referenced by KeepShared(), MultiHit(), and SectorPreference().
|
staticprivate |
!
Definition at line 153 of file TS3.h.
Referenced by BuildPixels(), GetFrontBackEnergy(), and SetFrontBackEnergy().
|
staticprivate |
!
Definition at line 154 of file TS3.h.
Referenced by BuildPixels(), GetFrontBackOffset(), and SetFrontBackEOffset().
|
staticprivate |
!
Definition at line 152 of file TS3.h.
Referenced by BuildPixels(), GetFrontBackTime(), and SetFrontBackTime().
|
staticprivate |
Global Bit.
Definition at line 136 of file TS3.h.
Referenced by SetGlobalBit(), and TestGlobalBit().
|
privateinherited |
Definition at line 84 of file TDetector.h.
Referenced by TDetector::~TDetector(), TDetector::AddHit(), TDetector::Clear(), TDetector::ClearTransients(), TDetector::Copy(), TDetector::GetHit(), TDetector::GetMultiplicity(), TDetector::Hits(), TDetector::Hits(), TDetector::NoHits(), and TDetector::Print().
|
staticprivate |
|
staticprivate |
|
staticprivate |
!
Definition at line 145 of file TS3.h.
Referenced by GetPosition().
|
staticprivate |
|
staticprivate |
|
private |
flags for transient members
Definition at line 131 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 129 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 127 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 128 of file TS3.h.
Referenced by AddFragment(), BuildPixels(), Clear(), ClearTransients(), Copy(), GetSectorHit(), GetSectorMultiplicity(), and ResetRingsSectors().
|
staticprivate |
|
staticprivate |