GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TSiLiHit Class Reference

Detailed Description

Definition at line 17 of file TSiLiHit.h.

Public Types

enum class  EBitFlag {
  kIsEnergySet = BIT(0) , kIsChannelSet = BIT(1) , kBit2 = BIT(2) , kBit3 = BIT(3) ,
  kIsPPGSet = BIT(4) , kIsTimeSet = BIT(5) , kBit6 = BIT(6) , kBit7 = BIT(7) ,
  kBit8 = BIT(8) , kDetHitBit0 = BIT(9) , kDetHitBit1 = BIT(10) , kDetHitBit2 = BIT(11) ,
  kDetHitBit3 = BIT(12) , kDetHitBit4 = BIT(13) , kDetHitBit5 = BIT(14) , kDetHitBit6 = BIT(15) ,
  kBase = BIT(9) , kIsAllSet = 0xFFFF
}
 
enum class  ESiLiHitBits { kUseFitCharge = BIT(0) , kSiLiHitBit1 = BIT(1) }
 
enum class  ETimeFlag {
  kNoneSet = BIT(0) , kCFD = BIT(1) , kWalk = BIT(2) , kOffset = BIT(3) ,
  kAll = 0xFFFF
}
 

Public Member Functions

 TSiLiHit ()
 
 TSiLiHit (const TFragment &)
 
 TSiLiHit (const TSiLiHit &)
 
 TSiLiHit (TSiLiHit &&) noexcept=default
 
 ~TSiLiHit () override=default
 
virtual void Add (const TDetectorHit *)
 
void AddWaveformSample (const Short_t &val)
 
virtual void AppendTimeStamp (const Long64_t &val)
 
virtual Float_t Charge () const
 
void Clear (Option_t *opt="") override
 
void ClearChannel ()
 
void ClearEnergy ()
 
virtual void ClearTransients () const
 
void Copy (TObject &) const override
 
void Copy (TObject &, bool=false) const override
 
virtual void CopyWave (TObject &) const
 
double GetAddbackEnergy (unsigned int i)
 
int16_t GetAddbackSegment (unsigned int i)
 
unsigned int GetAddbackSize ()
 
virtual UInt_t GetAddress () const
 
virtual UShort_t GetArrayNumber () const
 
virtual Float_t GetCfd () const
 
TChannelGetChannel () const
 
virtual int GetChannelNumber () const
 
virtual Float_t GetCharge () const
 
virtual Int_t GetCrystal () const
 
Long64_t GetCycleTimeStamp () const
 
virtual Int_t GetDetector () const
 
double GetDoppler (double beta, TVector3 *vec=nullptr, double E=0) const
 
double GetEnergy (Option_t *opt=nullptr) const override
 
virtual Double_t GetEnergyNonlinearity (double energy) const
 
double GetFitCharge () const
 
double GetFitEnergy () const
 
virtual Short_t GetKValue () const
 
const char * GetName () const override
 
Int_t GetPin () const
 
TVector3 GetPosition () const override
 
TVector3 GetPosition (bool) const
 
TVector3 GetPosition (Double_t dist) const override
 
TVector3 GetPosition (Double_t dist, bool) const
 
EPpgPattern GetPPGStatus () const
 
Int_t GetPreamp () const
 
Int_t GetRing () const
 
Int_t GetSector () const
 
virtual Int_t GetSegment () const
 
Double_t GetSig2Noise () const
 
Double_t GetSmirnov () const
 
virtual Double_t GetTime (const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
 
Double_t GetTimeFit () const
 
Double_t GetTimeFitCfd () const
 
Double_t GetTimeFitns () const
 
double GetTimeSinceTapeMove () const
 
virtual Long64_t GetTimeStamp (Option_t *="") const
 
Int_t GetTimeStampLow ()
 
virtual Long64_t GetTimeStampNs (Option_t *opt="") const
 
virtual Int_t GetTimeStampUnit () const
 
const std::vector< Short_t > * GetWaveform () const
 
double GetWaveformEnergy () const
 
virtual bool HasWave () const
 
bool MagnetShadow () const
 
bool operator< (const TDetectorHit &rhs) const
 
TSiLiHitoperator= (const TSiLiHit &)=default
 
TSiLiHitoperator= (TSiLiHit &&) noexcept=default
 
void Print (Option_t *opt="") const override
 
void Print (std::ostream &out) const override
 
void SetAddress (const UInt_t &temp_address)
 
virtual void SetCfd (const Float_t &val)
 
virtual void SetCfd (const Int_t &val)
 
virtual void SetCfd (const uint32_t &val)
 
void SetCharge (const Float_t &temp_charge)
 
void SetCharge (const Int_t &temp_charge)
 
Double_t SetEnergy (const double &energy) const
 
void SetHitBit (EBitFlag, Bool_t set=true) const
 
void SetKValue (const Short_t &temp_kval)
 
Double_t SetTime (const Double_t &time) const
 
void SetTimeFit (double t0)
 
virtual void SetTimeStamp (const Long64_t &val)
 
void SetWavefit (const TFragment &)
 
void SetWaveform (const std::vector< Short_t > &val)
 
void SumHit (TSiLiHit *)
 
bool TestHitBit (EBitFlag flag) const
 
void UseFitCharge (bool set=true)
 
virtual size_t WaveSize () const
 

Static Public Member Functions

static bool CompareEnergy (TDetectorHit *lhs, TDetectorHit *rhs)
 
static TPulseAnalyzerFitFrag (const TFragment &frag, int ShapeFit, int segment)
 
static TPulseAnalyzerFitFrag (const TFragment &frag, int ShapeFit=0, TChannel *=nullptr)
 
static int FitPulseAnalyzer (TPulseAnalyzer *pulse, int ShapeFit, int segment)
 
static int FitPulseAnalyzer (TPulseAnalyzer *pulse, int ShapeFit=0, TChannel *=nullptr)
 
static TVector3 * GetBeamDirection ()
 
static TChannelGetSiLiHitChannel (int segment)
 

Protected Member Functions

Bool_t IsChannelSet () const
 
Bool_t IsEnergySet () const
 
Bool_t IsPPGSet () const
 
Bool_t IsTimeSet () const
 

Private Member Functions

Double_t GetDefaultDistance () const
 

Private Attributes

std::vector< double > fAddBackEnergy
 
std::vector< int16_t > fAddBackSegments
 
UInt_t fAddress {0}
 
TTransientBits< UChar_t > fBitFlags
 
Float_t fCfd {0}
 
TChannelfChannel {nullptr}
 
Float_t fCharge {0.}
 
Long64_t fCycleTimeStamp {0}
 
Double_t fEnergy {0.}
 
Double_t fFitBase {0.}
 
Double_t fFitCharge {0.}
 
Short_t fKValue {0}
 
EPpgPattern fPPGStatus {EPpgPattern::kJunk}
 
Double_t fSig2Noise {0.}
 
TTransientBits< UChar_t > fSiLiHitBits
 
Double_t fSmirnov {0.}
 
Double_t fTime {0.}
 
Double_t fTimeFit {0.}
 
Long64_t fTimeStamp {0}
 
std::vector< Short_t > fWaveform
 

Static Private Attributes

static TVector3 fBeamDirection
 
+ Inheritance diagram for TSiLiHit:
+ Collaboration diagram for TSiLiHit:

Member Enumeration Documentation

◆ EBitFlag

enum class TDetectorHit::EBitFlag
stronginherited
Enumerator
kIsEnergySet 
kIsChannelSet 
kBit2 
kBit3 
kIsPPGSet 
kIsTimeSet 
kBit6 
kBit7 
kBit8 
kDetHitBit0 
kDetHitBit1 
kDetHitBit2 
kDetHitBit3 
kDetHitBit4 
kDetHitBit5 
kDetHitBit6 
kBase 
kIsAllSet 

Definition at line 50 of file TDetectorHit.h.

◆ ESiLiHitBits

enum class TSiLiHit::ESiLiHitBits
strong
Enumerator
kUseFitCharge 
kSiLiHitBit1 

Definition at line 19 of file TSiLiHit.h.

◆ ETimeFlag

enum class TDetectorHit::ETimeFlag
stronginherited
Enumerator
kNoneSet 
kCFD 
kWalk 
kOffset 
kAll 

Definition at line 72 of file TDetectorHit.h.

Constructor & Destructor Documentation

◆ TSiLiHit() [1/4]

TSiLiHit::TSiLiHit ( )

Definition at line 4 of file TSiLiHit.cxx.

References Clear().

◆ TSiLiHit() [2/4]

TSiLiHit::TSiLiHit ( const TSiLiHit & rhs)

Definition at line 16 of file TSiLiHit.cxx.

References Clear(), and Copy().

◆ TSiLiHit() [3/4]

TSiLiHit::TSiLiHit ( TSiLiHit && )
defaultnoexcept

◆ TSiLiHit() [4/4]

TSiLiHit::TSiLiHit ( const TFragment & frag)
explicit

Definition at line 9 of file TSiLiHit.cxx.

References TDetectorHit::Copy(), and SetWavefit().

◆ ~TSiLiHit()

TSiLiHit::~TSiLiHit ( )
overridedefault

Member Function Documentation

◆ Add()

virtual void TDetectorHit::Add ( const TDetectorHit * )
inlinevirtualinherited

!

Reimplemented in TFippsHit, TGriffinHit, TIfinHit, TTdrCloverHit, and TTdrTigressHit.

Definition at line 184 of file TDetectorHit.h.

◆ AddWaveformSample()

void TDetectorHit::AddWaveformSample ( const Short_t & val)
inlineinherited

!

Definition at line 117 of file TDetectorHit.h.

References TDetectorHit::fWaveform.

◆ AppendTimeStamp()

virtual void TDetectorHit::AppendTimeStamp ( const Long64_t & val)
inlinevirtualinherited

!

Definition at line 119 of file TDetectorHit.h.

References TDetectorHit::fTimeStamp.

◆ Charge()

◆ Clear()

void TSiLiHit::Clear ( Option_t * opt = "")
override

◆ ClearChannel()

void TDetectorHit::ClearChannel ( )
inlineinherited

◆ ClearEnergy()

void TDetectorHit::ClearEnergy ( )
inlineinherited

◆ ClearTransients()

virtual void TDetectorHit::ClearTransients ( ) const
inlinevirtualinherited

◆ CompareEnergy()

bool TDetectorHit::CompareEnergy ( TDetectorHit * lhs,
TDetectorHit * rhs )
staticinherited

Definition at line 209 of file TDetectorHit.cxx.

References TDetectorHit::GetEnergy().

◆ Copy() [1/2]

◆ Copy() [2/2]

void TSiLiHit::Copy ( TObject & rhs,
bool copywave = false ) const
overridevirtual

!

Reimplemented from TDetectorHit.

Definition at line 22 of file TSiLiHit.cxx.

References TDetectorHit::Copy(), fAddBackEnergy, fAddBackSegments, fFitBase, fFitCharge, fSig2Noise, fSiLiHitBits, fSmirnov, and fTimeFit.

Referenced by TSiLiHit(), and SumHit().

◆ CopyWave()

◆ FitFrag() [1/2]

TPulseAnalyzer * TSiLiHit::FitFrag ( const TFragment & frag,
int ShapeFit,
int segment )
static

Definition at line 68 of file TSiLiHit.cxx.

References FitFrag(), and GetSiLiHitChannel().

Referenced by FitFrag(), and SetWavefit().

◆ FitFrag() [2/2]

TPulseAnalyzer * TSiLiHit::FitFrag ( const TFragment & frag,
int ShapeFit = 0,
TChannel * channel = nullptr )
static

Definition at line 73 of file TSiLiHit.cxx.

References FitPulseAnalyzer(), and TSiLi::fSiLiNoiseFac.

◆ FitPulseAnalyzer() [1/2]

int TSiLiHit::FitPulseAnalyzer ( TPulseAnalyzer * pulse,
int ShapeFit,
int segment )
static

Definition at line 91 of file TSiLiHit.cxx.

References FitPulseAnalyzer(), and GetSiLiHitChannel().

Referenced by FitFrag(), and FitPulseAnalyzer().

◆ FitPulseAnalyzer() [2/2]

◆ GetAddbackEnergy()

double TSiLiHit::GetAddbackEnergy ( unsigned int i)
inline

Definition at line 115 of file TSiLiHit.h.

References fAddBackEnergy, and GetAddbackSize().

◆ GetAddbackSegment()

int16_t TSiLiHit::GetAddbackSegment ( unsigned int i)
inline

Definition at line 122 of file TSiLiHit.h.

References fAddBackSegments, and GetAddbackSize().

◆ GetAddbackSize()

unsigned int TSiLiHit::GetAddbackSize ( )
inline

Definition at line 107 of file TSiLiHit.h.

References fAddBackEnergy, and fAddBackSegments.

Referenced by GetAddbackEnergy(), and GetAddbackSegment().

◆ GetAddress()

◆ GetArrayNumber()

virtual UShort_t TDetectorHit::GetArrayNumber ( ) const
inlinevirtualinherited

! Simply returns the detector number, overwritten for detectors that have crystals/segments

Reimplemented in TBgoHit, TFippsBgoHit, TFippsHit, TFippsLaBrBgoHit, TGriffinBgoHit, TGriffinHit, TIfinBgoHit, TIfinHit, TLaBrBgoHit, TRcmpHit, TTdrCloverHit, TTdrTigressHit, and TTigressHit.

Definition at line 163 of file TDetectorHit.h.

References TDetectorHit::GetDetector().

Referenced by MakeAnalysisHistograms().

◆ GetBeamDirection()

static TVector3 * TDetectorHit::GetBeamDirection ( )
inlinestaticinherited

Definition at line 182 of file TDetectorHit.h.

References TDetectorHit::fBeamDirection.

Referenced by GetDoppler(), and TTigressHit::GetDoppler().

◆ GetCfd()

◆ GetChannel()

◆ GetChannelNumber()

int TDetectorHit::GetChannelNumber ( ) const
virtualinherited

◆ GetCharge()

◆ GetCrystal()

◆ GetCycleTimeStamp()

◆ GetDefaultDistance()

Double_t TSiLiHit::GetDefaultDistance ( ) const
inlineprivate

Definition at line 131 of file TSiLiHit.h.

Referenced by GetPosition().

◆ GetDetector()

Int_t TDetectorHit::GetDetector ( ) const
virtualinherited

!

Definition at line 182 of file TDetectorHit.cxx.

References TDetectorHit::GetChannel(), and TChannel::GetDetectorNumber().

Referenced by Addback(), Addback(), TTigress::AddFragment(), TTigressHit::Compare(), ComptonHists(), TFipps::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), DefaultFippsSuppression(), DefaultGriffinAddback(), DefaultGriffinSuppression(), DefaultIfinSuppression(), DefaultLaBrSuppression(), DefaultSuppression(), DefaultSuppression(), DefaultSuppression(), CrossTalkHelper::Exec(), CrossTalk::FillHistograms(), TBgoHit::GetArrayNumber(), TDetectorHit::GetArrayNumber(), TFippsBgoHit::GetArrayNumber(), TFippsHit::GetArrayNumber(), TFippsLaBrBgoHit::GetArrayNumber(), TGriffinBgoHit::GetArrayNumber(), TGriffinHit::GetArrayNumber(), TIfinBgoHit::GetArrayNumber(), TIfinHit::GetArrayNumber(), TLaBrBgoHit::GetArrayNumber(), TRcmpHit::GetArrayNumber(), TTdrCloverHit::GetArrayNumber(), TTdrTigressHit::GetArrayNumber(), TTigressHit::GetArrayNumber(), TSharc2::GetDeadLayerThickness(), TSharc::GetDeadLayerThickness(), TSharc2::GetDetectorThickness(), TSharc::GetDetectorThickness(), TTigressHit::GetLastPosition(), TSharc::GetPadDeadLayerThickness(), TSharc::GetPadThickness(), TAriesHit::GetPosition(), TDescantHit::GetPosition(), TDescantHit::GetPosition(), TEagleHit::GetPosition(), TFippsHit::GetPosition(), TFippsLaBrHit::GetPosition(), TGriffinHit::GetPosition(), TIfinHit::GetPosition(), TLaBrHit::GetPosition(), TPacesHit::GetPosition(), TPinDiodeHit::GetPosition(), TSceptarHit::GetPosition(), TSharc2Hit::GetPosition(), TSharcHit::GetPosition(), TTdrCloverHit::GetPosition(), TTdrPlasticHit::GetPosition(), TTdrSiLiHit::GetPosition(), TTdrTigressHit::GetPosition(), TTigress::GetPosition(), TTrificHit::GetPosition(), TTrific::GetXYGrid(), main(), MakeAnalysisHistograms(), TAriesHit::Print(), TDescantHit::Print(), TEagleHit::Print(), TFippsHit::Print(), TFippsLaBrHit::Print(), TFippsTACHit::Print(), TGriffinHit::Print(), TIfinHit::Print(), TLaBrHit::Print(), TPacesHit::Print(), TPinDiodeHit::Print(), TRcmpHit::Print(), TSceptarHit::Print(), TSharc2Hit::Print(), TSharcHit::Print(), TTACHit::Print(), TTdrCloverHit::Print(), TTdrPlasticHit::Print(), TTdrSiLiHit::Print(), TTdrTigressHit::Print(), TTipHit::Print(), TTrificHit::Print(), TZeroDegreeHit::Print(), and PromptCoincidence().

◆ GetDoppler()

double TSiLiHit::GetDoppler ( double beta,
TVector3 * vec = nullptr,
double E = 0 ) const
inline

Definition at line 93 of file TSiLiHit.h.

References TDetectorHit::GetBeamDirection(), GetEnergy(), and GetPosition().

◆ GetEnergy()

◆ GetEnergyNonlinearity()

Double_t TDetectorHit::GetEnergyNonlinearity ( double energy) const
virtualinherited

◆ GetFitCharge()

double TSiLiHit::GetFitCharge ( ) const
inline

Definition at line 89 of file TSiLiHit.h.

References fFitCharge.

◆ GetFitEnergy()

double TSiLiHit::GetFitEnergy ( ) const

◆ GetKValue()

◆ GetName()

const char * TDetectorHit::GetName ( ) const
overrideinherited

◆ GetPin()

Int_t TSiLiHit::GetPin ( ) const

Definition at line 182 of file TSiLiHit.cxx.

References TSiLi::GetPin(), and TDetectorHit::GetSegment().

Referenced by TSiLi::fRejectCriterion().

◆ GetPosition() [1/4]

TVector3 TSiLiHit::GetPosition ( ) const
inlineoverridevirtual

!

Reimplemented from TDetectorHit.

Definition at line 77 of file TSiLiHit.h.

References GetPosition().

Referenced by GetDoppler(), GetPosition(), and GetPosition().

◆ GetPosition() [2/4]

TVector3 TSiLiHit::GetPosition ( bool smear) const

Definition at line 132 of file TSiLiHit.cxx.

References GetDefaultDistance(), and GetPosition().

◆ GetPosition() [3/4]

TVector3 TSiLiHit::GetPosition ( Double_t ) const
inlineoverridevirtual

!

Reimplemented from TDetectorHit.

Definition at line 76 of file TSiLiHit.h.

References GetPosition().

Referenced by GetPosition().

◆ GetPosition() [4/4]

TVector3 TSiLiHit::GetPosition ( Double_t dist,
bool smear ) const

Definition at line 127 of file TSiLiHit.cxx.

References TSiLi::GetPosition(), GetRing(), and GetSector().

◆ GetPPGStatus()

◆ GetPreamp()

Int_t TSiLiHit::GetPreamp ( ) const

Definition at line 178 of file TSiLiHit.cxx.

References TSiLi::GetPreamp(), and TDetectorHit::GetSegment().

Referenced by TSiLi::fRejectCriterion().

◆ GetRing()

Int_t TSiLiHit::GetRing ( ) const

◆ GetSector()

Int_t TSiLiHit::GetSector ( ) const

◆ GetSegment()

◆ GetSig2Noise()

Double_t TSiLiHit::GetSig2Noise ( ) const
inline

Definition at line 47 of file TSiLiHit.h.

References fSig2Noise.

◆ GetSiLiHitChannel()

TChannel * TSiLiHit::GetSiLiHitChannel ( int segment)
static

Definition at line 83 of file TSiLiHit.cxx.

References TChannel::FindChannelByName().

Referenced by FitFrag(), and FitPulseAnalyzer().

◆ GetSmirnov()

Double_t TSiLiHit::GetSmirnov ( ) const
inline

Definition at line 48 of file TSiLiHit.h.

References fSmirnov.

◆ GetTime()

Double_t TDetectorHit::GetTime ( const ETimeFlag & correct_flag = ETimeFlag::kAll,
Option_t * opt = "" ) const
virtualinherited

Returns a time value to the nearest nanosecond!

Reimplemented in TCSMHit.

Definition at line 41 of file TDetectorHit.cxx.

References TDetectorHit::fTime, TDetectorHit::GetCfd(), TDetectorHit::GetChannel(), TDetectorHit::GetEnergy(), TChannel::GetTime(), TDetectorHit::GetTimeStamp(), TDetectorHit::IsTimeSet(), and TDetectorHit::SetTime().

Referenced by TFippsHit::Add(), TGriffinHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TTdrTigressHit::Add(), Addback(), Addback(), ComptonPolarimetryHelper::Coincident(), TFipps::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), DefaultAddback(), DefaultFippsSuppression(), DefaultGriffinAddback(), DefaultGriffinSuppression(), DefaultIfinSuppression(), DefaultLaBrSuppression(), DefaultSuppression(), DefaultSuppression(), TSiLi::fCoincidenceTime(), TSharc2Hit::GetDeltaBackT(), TSharcHit::GetDeltaBackT(), TSharc2Hit::GetDeltaFrontT(), TSharcHit::GetDeltaFrontT(), TSharc2Hit::GetDeltaT(), TSharcHit::GetDeltaT(), TSharc2Hit::GetPadT(), TSharcHit::GetPadT(), TFippsTACHit::GetTempCorrectedCharge(), TTACHit::GetTempCorrectedCharge(), TDetectorHit::GetTimeSinceTapeMove(), main(), MakeAnalysisHistograms(), TAriesHit::Print(), TDescantHit::Print(), TDetectorHit::Print(), TFippsHit::Print(), TFippsLaBrHit::Print(), TFippsTACHit::Print(), TGriffinHit::Print(), TIfinHit::Print(), TLaBrHit::Print(), TPacesHit::Print(), TPinDiodeHit::Print(), TRcmpHit::Print(), TSceptarHit::Print(), TTACHit::Print(), TTdrCloverHit::Print(), TTdrPlasticHit::Print(), TTdrSiLiHit::Print(), TTdrTigressHit::Print(), TTigressHit::Print(), TTipHit::Print(), TTrificHit::Print(), TZeroDegreeHit::Print(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), PromptCoincidence(), TTigressHit::SumHit(), TFippsTACHit::TempCorrectedCharge(), TTACHit::TempCorrectedCharge(), ComptonPolarimetryHelper::TimeDiff(), TimeRandom(), and TimeRandom().

◆ GetTimeFit()

Double_t TSiLiHit::GetTimeFit ( ) const
inline

◆ GetTimeFitCfd()

Double_t TSiLiHit::GetTimeFitCfd ( ) const
inline

Definition at line 55 of file TSiLiHit.h.

References GetTimeFit(), and TDetectorHit::GetTimeStamp().

◆ GetTimeFitns()

Double_t TSiLiHit::GetTimeFitns ( ) const
inline

Definition at line 51 of file TSiLiHit.h.

References GetTimeFit(), and TDetectorHit::GetTimeStamp().

◆ GetTimeSinceTapeMove()

double TDetectorHit::GetTimeSinceTapeMove ( ) const
inherited

returns time in ns, minus the time of the last tape move

Definition at line 273 of file TDetectorHit.cxx.

References TSingleton< TPPG >::Get(), TPPG::GetLastStatusTime(), TDetectorHit::GetTime(), TDetectorHit::GetTimeStampNs(), and kTapeMove.

◆ GetTimeStamp()

◆ GetTimeStampLow()

Int_t TSiLiHit::GetTimeStampLow ( )
inline

Definition at line 50 of file TSiLiHit.h.

References TDetectorHit::GetTimeStamp().

◆ GetTimeStampNs()

◆ GetTimeStampUnit()

Int_t TDetectorHit::GetTimeStampUnit ( ) const
virtualinherited

◆ GetWaveform()

◆ GetWaveformEnergy()

double TSiLiHit::GetWaveformEnergy ( ) const
inline

Definition at line 87 of file TSiLiHit.h.

References GetFitEnergy().

◆ HasWave()

◆ IsChannelSet()

Bool_t TDetectorHit::IsChannelSet ( ) const
inlineprotectedinherited

◆ IsEnergySet()

Bool_t TDetectorHit::IsEnergySet ( ) const
inlineprotectedinherited

◆ IsPPGSet()

Bool_t TDetectorHit::IsPPGSet ( ) const
inlineprotectedinherited

◆ IsTimeSet()

Bool_t TDetectorHit::IsTimeSet ( ) const
inlineprotectedinherited

◆ MagnetShadow()

bool TSiLiHit::MagnetShadow ( ) const

Definition at line 186 of file TSiLiHit.cxx.

References TDetectorHit::GetSegment(), and TSiLi::MagnetShadow().

◆ operator<()

bool TDetectorHit::operator< ( const TDetectorHit & rhs) const
inlineinherited

Definition at line 88 of file TDetectorHit.h.

References TDetectorHit::GetEnergy().

◆ operator=() [1/2]

TSiLiHit & TSiLiHit::operator= ( const TSiLiHit & )
default

◆ operator=() [2/2]

TSiLiHit & TSiLiHit::operator= ( TSiLiHit && )
defaultnoexcept

◆ Print() [1/2]

void TSiLiHit::Print ( Option_t * opt = "") const
override

Definition at line 137 of file TSiLiHit.cxx.

References Print().

Referenced by Print().

◆ Print() [2/2]

void TSiLiHit::Print ( std::ostream & out) const
overridevirtual

!

Reimplemented from TDetectorHit.

Definition at line 142 of file TSiLiHit.cxx.

◆ SetAddress()

void TDetectorHit::SetAddress ( const UInt_t & temp_address)
inlineinherited

◆ SetCfd() [1/3]

virtual void TDetectorHit::SetCfd ( const Float_t & val)
inlinevirtualinherited

◆ SetCfd() [2/3]

virtual void TDetectorHit::SetCfd ( const Int_t & val)
inlinevirtualinherited

! this function automatically randomizes the integer provided

Definition at line 115 of file TDetectorHit.h.

References TDetectorHit::fCfd.

◆ SetCfd() [3/3]

virtual void TDetectorHit::SetCfd ( const uint32_t & val)
inlinevirtualinherited

! this function automatically randomizes the integer provided

Definition at line 114 of file TDetectorHit.h.

References TDetectorHit::fCfd.

◆ SetCharge() [1/2]

void TDetectorHit::SetCharge ( const Float_t & temp_charge)
inlineinherited

◆ SetCharge() [2/2]

void TDetectorHit::SetCharge ( const Int_t & temp_charge)
inlineinherited

! this function automatically randomizes the integer provided

Definition at line 112 of file TDetectorHit.h.

References TDetectorHit::fCharge.

◆ SetEnergy()

Double_t TDetectorHit::SetEnergy ( const double & energy) const
inlineinherited

◆ SetHitBit()

◆ SetKValue()

void TDetectorHit::SetKValue ( const Short_t & temp_kval)
inlineinherited

◆ SetTime()

Double_t TDetectorHit::SetTime ( const Double_t & time) const
inlineinherited

◆ SetTimeFit()

void TSiLiHit::SetTimeFit ( double t0)
inline

Definition at line 65 of file TSiLiHit.h.

References fTimeFit.

◆ SetTimeStamp()

virtual void TDetectorHit::SetTimeStamp ( const Long64_t & val)
inlinevirtualinherited

!

Definition at line 118 of file TDetectorHit.h.

References TDetectorHit::fTimeStamp.

◆ SetWavefit()

◆ SetWaveform()

void TDetectorHit::SetWaveform ( const std::vector< Short_t > & val)
inlineinherited

◆ SumHit()

◆ TestHitBit()

bool TDetectorHit::TestHitBit ( EBitFlag flag) const
inlineinherited

Definition at line 187 of file TDetectorHit.h.

References TDetectorHit::fBitFlags, and TTransientBits< T >::TestBit().

Referenced by TDetectorHit::GetEnergy(), and GetEnergy().

◆ UseFitCharge()

void TSiLiHit::UseFitCharge ( bool set = true)
inline

◆ WaveSize()

Member Data Documentation

◆ fAddBackEnergy

std::vector<double> TSiLiHit::fAddBackEnergy
private

!

Definition at line 134 of file TSiLiHit.h.

Referenced by Clear(), Copy(), GetAddbackEnergy(), GetAddbackSize(), and SumHit().

◆ fAddBackSegments

std::vector<int16_t> TSiLiHit::fAddBackSegments
private

!

Definition at line 133 of file TSiLiHit.h.

Referenced by Clear(), Copy(), GetAddbackSegment(), GetAddbackSize(), and SumHit().

◆ fAddress

◆ fBeamDirection

TVector3 TDetectorHit::fBeamDirection
staticprivateinherited

Definition at line 213 of file TDetectorHit.h.

Referenced by TDetectorHit::GetBeamDirection().

◆ fBitFlags

◆ fCfd

Float_t TDetectorHit::fCfd {0}
privateinherited

◆ fChannel

TChannel* TDetectorHit::fChannel {nullptr}
mutableprivateinherited

◆ fCharge

Float_t TDetectorHit::fCharge {0.}
privateinherited

◆ fCycleTimeStamp

Long64_t TDetectorHit::fCycleTimeStamp {0}
mutableprivateinherited

◆ fEnergy

Double_t TDetectorHit::fEnergy {0.}
mutableprivateinherited

◆ fFitBase

Double_t TSiLiHit::fFitBase {0.}
private

Definition at line 142 of file TSiLiHit.h.

Referenced by Clear(), Copy(), and SetWavefit().

◆ fFitCharge

Double_t TSiLiHit::fFitCharge {0.}
private

Definition at line 141 of file TSiLiHit.h.

Referenced by Clear(), Copy(), GetEnergy(), GetFitCharge(), GetFitEnergy(), and SetWavefit().

◆ fKValue

◆ fPPGStatus

EPpgPattern TDetectorHit::fPPGStatus {EPpgPattern::kJunk}
mutableprivateinherited

◆ fSig2Noise

Double_t TSiLiHit::fSig2Noise {0.}
private

Definition at line 139 of file TSiLiHit.h.

Referenced by Clear(), Copy(), GetSig2Noise(), and SetWavefit().

◆ fSiLiHitBits

TTransientBits<UChar_t> TSiLiHit::fSiLiHitBits
private

Definition at line 136 of file TSiLiHit.h.

Referenced by Clear(), Copy(), GetEnergy(), GetFitEnergy(), and UseFitCharge().

◆ fSmirnov

Double_t TSiLiHit::fSmirnov {0.}
private

Definition at line 140 of file TSiLiHit.h.

Referenced by Clear(), Copy(), GetSmirnov(), and SetWavefit().

◆ fTime

Double_t TDetectorHit::fTime {0.}
mutableprivateinherited

! Calibrated Time of the hit

Definition at line 202 of file TDetectorHit.h.

Referenced by TDetectorHit::Clear(), TDetectorHit::Copy(), TDetectorHit::GetTime(), and TDetectorHit::SetTime().

◆ fTimeFit

Double_t TSiLiHit::fTimeFit {0.}
private

Definition at line 138 of file TSiLiHit.h.

Referenced by Clear(), Copy(), GetTimeFit(), SetTimeFit(), and SetWavefit().

◆ fTimeStamp

Long64_t TDetectorHit::fTimeStamp {0}
privateinherited

◆ fWaveform