Public Types | |
enum | ESiLiBits { ESiLiBits::kAddbackSet = BIT(0), ESiLiBits::kSiLiBit1 = BIT(1), ESiLiBits::kSiLiBit2 = BIT(2), ESiLiBits::kSiLiBit3 = BIT(3), ESiLiBits::kSiLiBit4 = BIT(4), ESiLiBits::kSiLiBit5 = BIT(5), ESiLiBits::kSiLiBit6 = BIT(6), ESiLiBits::kSiLiBit7 = BIT(7) } |
Public Member Functions | |
TSiLi () | |
TSiLi (const TSiLi &) | |
~TSiLi () override | |
void | AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) override |
void | BuildHits () override |
void | Clear (Option_t *opt="") override |
virtual void | ClearTransients () |
void | CoincidenceTime (double time) |
void | Copy (TObject &) const override |
bool | fAddbackCriterion (TSiLiHit *, TSiLiHit *) |
bool | fCoincidenceTime (TSiLiHit *, TSiLiHit *) |
bool | fRejectCriterion (TSiLiHit *, TSiLiHit *) |
TSiLiHit * | GetAddbackHit (const Int_t &i=0) |
Int_t | GetAddbackMultiplicity () |
virtual TDetectorHit * | GetHit (const int &) const |
virtual const std::vector< TDetectorHit * > & | GetHitVector () const |
virtual Short_t | GetMultiplicity () const |
TSiLiHit * | GetRejectHit (const Int_t &i=0) |
Int_t | GetRejectMultiplicity () |
TSiLiHit * | GetSiLiHit (const Int_t &i=0) const |
TSiLi & | operator= (const TSiLi &) |
void | Print (Option_t *opt="") const override |
void | Print (std::ostream &out) const override |
void | RejectCrosstalk (bool reject=true) |
void | ResetAddback () |
void | UseFitCharge () |
Static Public Member Functions | |
static Int_t | GetPin (Int_t seg) |
static TVector3 | GetPosition (int ring, int sector, bool smear=false) |
static Int_t | GetPreamp (Int_t seg) |
static Int_t | GetRing (Int_t seg) |
static Int_t | GetSector (Int_t seg) |
static double | GetSegmentArea (Int_t seg) |
static bool | MagnetShadow (Int_t seg) |
static std::vector< TGraph > | UpstreamShapes () |
Static Public Attributes | |
static double | BaseFreq =4 |
static int | FitSiLiShape = 0 |
static bool | fRejectPossibleCrosstalk = false |
static double | fSiLiCoincidenceTime = 200 |
static double | sili_default_baseline = -4300 |
static double | sili_default_decay = 4616.18 |
static double | sili_default_rise = 20.90 |
static double | sili_noise_fac = 4 |
Protected Attributes | |
std::vector< TDetectorHit * > | fHits |
Private Member Functions | |
void | AddCluster (std::vector< unsigned > &, bool=false) |
Private Attributes | |
std::vector< TSiLiHit > | fAddbackHits |
std::vector< unsigned int > | fRejectHits |
TTransientBits< UChar_t > | fSiLiBits |
Static Private Attributes | |
static double | fInnerDiameter = 16. |
static double | fOffsetPhi = -165. * TMath::Pi() / 180. |
static double | fOuterDiameter = 94. |
static int | fRingNumber = 10 |
static int | fSectorNumber = 12 |
static double | fTargetDistance = -117.8 |
#include <TSiLi.h>
|
strong |
|
overridedefault |
|
private |
Definition at line 278 of file TSiLi.cxx.
References fAddbackHits, TDetector::fHits, fRejectHits, fRejectPossibleCrosstalk, TSiLiHit::GetEnergy(), TSiLiHit::GetRing(), TSiLiHit::GetSector(), GetSiLiHit(), and s.
Referenced by GetAddbackMultiplicity().
|
overridevirtual |
!
Reimplemented from TDetector.
Definition at line 72 of file TSiLi.cxx.
References TDetector::fHits.
|
inlineoverridevirtual |
|
override |
Definition at line 46 of file TSiLi.cxx.
References TTransientBits< T >::Clear(), TDetector::Clear(), fAddbackHits, and fSiLiBits.
Referenced by TSiLi().
|
virtualinherited |
!
Reimplemented in TS3, TTigress, TTrific, and TGriffin.
Definition at line 63 of file TDetector.cxx.
References TDetector::fHits.
Referenced by TGriffin::ClearTransients(), TTrific::ClearTransients(), and TTigress::ClearTransients().
|
inline |
Definition at line 65 of file TSiLi.h.
References fSiLiCoincidenceTime, and ResetAddback().
|
overridevirtual |
!
Reimplemented from TDetector.
Definition at line 34 of file TSiLi.cxx.
References TDetector::Copy(), fAddbackHits, and fSiLiBits.
Referenced by operator=(), and TSiLi().
Definition at line 232 of file TSiLi.cxx.
References fCoincidenceTime(), TSiLiHit::GetEnergy(), TSiLiHit::GetRing(), and TSiLiHit::GetSector().
Referenced by GetAddbackMultiplicity().
Definition at line 265 of file TSiLi.cxx.
References fSiLiCoincidenceTime, TDetectorHit::GetTime(), and TSiLiHit::GetTimeFit().
Referenced by fAddbackCriterion(), and fRejectCriterion().
Definition at line 252 of file TSiLi.cxx.
References fCoincidenceTime(), TSiLiHit::GetPin(), and TSiLiHit::GetPreamp().
Referenced by GetAddbackMultiplicity().
TSiLiHit * TSiLi::GetAddbackHit | ( | const Int_t & | i = 0 | ) |
Get the ith addback hit. This function calls GetAddbackMultiplicity to check the range of the index. This automatically calculates all addback hits if they haven't been calculated before.
Definition at line 115 of file TSiLi.cxx.
References fAddbackHits, and GetAddbackMultiplicity().
Int_t TSiLi::GetAddbackMultiplicity | ( | ) |
Definition at line 165 of file TSiLi.cxx.
References AddCluster(), fAddbackCriterion(), fAddbackHits, TDetector::fHits, fRejectCriterion(), fRejectHits, fSiLiBits, GetSiLiHit(), kAddbackSet, TTransientBits< T >::SetBit(), and TTransientBits< T >::TestBit().
Referenced by GetAddbackHit(), and GetRejectMultiplicity().
|
virtualinherited |
Definition at line 70 of file TDetector.cxx.
References TDetector::fHits.
Referenced by exAnalysis(), TBgo::GetBgoHit(), TCSM::GetCSMHit(), TDescant::GetDescantHit(), TEagle::GetEagleHit(), TEmma::GetEmmaHit(), TGenericDetector::GetGenericDetectorHit(), TLaBrBgo::GetLaBrBgoHit(), TFippsLaBr::GetLaBrHit(), TLaBr::GetLaBrHit(), TPaces::GetPacesHit(), TS3::GetS3Hit(), TSceptar::GetSceptarHit(), TSharc::GetSharcHit(), GetSiLiHit(), TTAC::GetTACHit(), TFippsTAC::GetTACHit(), TTdrClover::GetTdrCloverHit(), TTdrPlastic::GetTdrPlasticHit(), TTdrSiLi::GetTdrSiLiHit(), TTdrTigress::GetTdrTigressHit(), TTigress::GetTigressHit(), TTip::GetTipHit(), TTrific::GetTrificHit(), TZeroDegree::GetZeroDegreeHit(), and MakeAnalysisHistograms().
|
inlinevirtualinherited |
Reimplemented in TGriffin.
Definition at line 64 of file TDetector.h.
References TDetector::fHits.
Referenced by TSuppressed::CreateSuppressed(), TSuppressed::CreateSuppressedAddback(), TFipps::FixCrossTalk(), TIfin::FixCrossTalk(), TTdrClover::GetAddbackMultiplicity(), TTdrTigress::GetAddbackMultiplicity(), TIfin::GetAddbackMultiplicity(), TFipps::GetAddbackMultiplicity(), TTdrTigress::GetSuppressedAddbackMultiplicity(), TTdrClover::GetSuppressedAddbackMultiplicity(), TFipps::GetSuppressedMultiplicity(), and TIfin::GetSuppressedMultiplicity().
|
inlinevirtualinherited |
Reimplemented in TTrific, and TGriffin.
Definition at line 62 of file TDetector.h.
References TDetector::fHits.
Referenced by exAnalysis(), TimeWalkSelector::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), AngularCorrelationSelector::FillHistograms(), main(), MakeAnalysisHistograms(), TBgo::Print(), TTdrClover::Print(), TTdrTigress::Print(), TFipps::Print(), TIfin::Print(), and TTigress::Print().
|
inlinestatic |
Definition at line 90 of file TSiLi.h.
References GetRing(), and GetSector().
Referenced by TSiLiHit::GetPin().
|
static |
Definition at line 83 of file TSiLi.cxx.
References fInnerDiameter, fOffsetPhi, fOuterDiameter, fRingNumber, fSectorNumber, and fTargetDistance.
Referenced by TSiLiHit::GetPosition().
|
inlinestatic |
Definition at line 89 of file TSiLi.h.
References GetRing(), and GetSector().
Referenced by TSiLiHit::GetPreamp().
TSiLiHit * TSiLi::GetRejectHit | ( | const Int_t & | i = 0 | ) |
Definition at line 127 of file TSiLi.cxx.
References fRejectHits, GetRejectMultiplicity(), and GetSiLiHit().
Int_t TSiLi::GetRejectMultiplicity | ( | ) |
Definition at line 137 of file TSiLi.cxx.
References fRejectHits, and GetAddbackMultiplicity().
Referenced by GetRejectHit().
|
inlinestatic |
Definition at line 87 of file TSiLi.h.
Referenced by GetPin(), GetPreamp(), TSiLiHit::GetRing(), and GetSegmentArea().
|
inlinestatic |
Definition at line 88 of file TSiLi.h.
Referenced by GetPin(), GetPreamp(), and TSiLiHit::GetSector().
|
static |
Definition at line 105 of file TSiLi.cxx.
References fInnerDiameter, fOuterDiameter, fRingNumber, fSectorNumber, and GetRing().
|
inline |
Definition at line 45 of file TSiLi.h.
References TDetector::GetHit().
Referenced by AddCluster(), GetAddbackMultiplicity(), and GetRejectHit().
|
inlinestatic |
Definition at line 99 of file TSiLi.h.
Referenced by TSiLiHit::MagnetShadow().
|
overridevirtual |
!
Reimplemented from TDetector.
Definition at line 64 of file TSiLi.cxx.
References fAddbackHits, and TDetector::fHits.
|
inline |
Definition at line 71 of file TSiLi.h.
References fRejectPossibleCrosstalk, and ResetAddback().
|
inline |
Definition at line 52 of file TSiLi.h.
References fAddbackHits, fSiLiBits, kAddbackSet, and TTransientBits< T >::SetBit().
Referenced by CoincidenceTime(), and RejectCrosstalk().
|
static |
Definition at line 357 of file TSiLi.cxx.
References fInnerDiameter, fOffsetPhi, fOuterDiameter, fRingNumber, and fSectorNumber.
|
inline |
Definition at line 58 of file TSiLi.h.
References TDetector::fHits.
|
static |
|
private |
!
Definition at line 116 of file TSiLi.h.
Referenced by AddCluster(), Clear(), Copy(), GetAddbackHit(), GetAddbackMultiplicity(), Print(), and ResetAddback().
|
protectedinherited |
Definition at line 72 of file TDetector.h.
Referenced by AddCluster(), TEaglePulser::AddFragment(), TGenericDetector::AddFragment(), TFippsPulser::AddFragment(), TPaces::AddFragment(), TTdrSiLi::AddFragment(), TBgo::AddFragment(), AddFragment(), TTip::AddFragment(), TSceptar::AddFragment(), TTdrPlastic::AddFragment(), TTAC::AddFragment(), TFippsTAC::AddFragment(), TEagle::AddFragment(), TZeroDegree::AddFragment(), TDescant::AddFragment(), TTdrClover::AddFragment(), TTdrTigress::AddFragment(), TFipps::AddFragment(), TIfin::AddFragment(), TTrific::AddFragment(), TLaBr::AddFragment(), TFippsLaBr::AddFragment(), TTigress::AddFragment(), TEmma::BuildHits(), TCSM::BuildHits(), TSharc::BuildHits(), TTigress::BuildHits(), TSharc::Clear(), TDetector::Clear(), TEmma::Clear(), TTrific::Clear(), TDetector::ClearTransients(), TDetector::Copy(), GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TFipps::GetFippsHit(), TDetector::GetHit(), TDetector::GetHitVector(), TIfin::GetIfinHit(), TDetector::GetMultiplicity(), TTrific::GetMultiplicity(), TSharc::GetSize(), TFippsLaBr::GetSuppressedMultiplicity(), TLaBr::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), Print(), TTdrSiLi::Print(), TTAC::Print(), TFippsTAC::Print(), TPaces::Print(), TTip::Print(), TZeroDegree::Print(), TSceptar::Print(), TTdrPlastic::Print(), TEagle::Print(), TDetector::Print(), TDescant::Print(), TEmma::Print(), TLaBr::Print(), TFippsLaBr::Print(), TTrific::Print(), TTigress::Print(), UseFitCharge(), and TDetector::~TDetector().
|
staticprivate |
!
Definition at line 128 of file TSiLi.h.
Referenced by GetPosition(), GetSegmentArea(), and UpstreamShapes().
|
static |
|
staticprivate |
|
staticprivate |
!
Definition at line 127 of file TSiLi.h.
Referenced by GetPosition(), GetSegmentArea(), and UpstreamShapes().
|
private |
!
Definition at line 117 of file TSiLi.h.
Referenced by AddCluster(), GetAddbackMultiplicity(), GetRejectHit(), and GetRejectMultiplicity().
|
static |
|
staticprivate |
for geometery
!
Definition at line 124 of file TSiLi.h.
Referenced by GetPosition(), GetSegmentArea(), and UpstreamShapes().
|
staticprivate |
!
Definition at line 125 of file TSiLi.h.
Referenced by GetPosition(), GetSegmentArea(), and UpstreamShapes().
|
private |
Definition at line 119 of file TSiLi.h.
Referenced by Clear(), Copy(), GetAddbackMultiplicity(), and ResetAddback().
|
static |
|
staticprivate |
|
static |
Definition at line 85 of file TSiLi.h.
Referenced by TSiLiHit::FitPulseAnalyzer().
|
static |
Definition at line 83 of file TSiLi.h.
Referenced by TSiLiHit::FitPulseAnalyzer().
|
static |
Definition at line 84 of file TSiLi.h.
Referenced by TSiLiHit::FitPulseAnalyzer().
|
static |
Definition at line 82 of file TSiLi.h.
Referenced by TSiLiHit::FitFrag().