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

Detailed Description

This is class that contains the basic info about detector hits:

  1. An address. The whoami for the detector. This is the value used by TChannel::GetChannel(address);
  2. An "Energy value." What this is left the parent class, but it is going to return a double.
  3. A Time value. This should be a time value common for detectors (derived from the timestamp) Units matter here, I am adobting the ns as the standard.
  4. A Position. Tvector3s are nice, they make doing geometery trival. Each hit needs one to determine where it is in space, the actual memory of the thing will be stored here. *** This is not actually needed here unless we start do waveform analysis to *** better determine where the hit is.
  5. The waveform. Since we are dealing with digital daqs, a waveform is a fairly common thing to have. It may not always be present, put it is echoed enough that the storage for it belongs here.

Definition at line 48 of file TDetectorHit.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  ETimeFlag {
  kNoneSet = BIT(0) , kCFD = BIT(1) , kWalk = BIT(2) , kOffset = BIT(3) ,
  kAll = 0xFFFF
}
 

Public Member Functions

 TDetectorHit (const int &Address=0xffffffff)
 
 TDetectorHit (const TDetectorHit &, bool copywave=true)
 
 TDetectorHit (TDetectorHit &&) noexcept=default
 
 ~TDetectorHit ()
 
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
 
virtual void Copy (TObject &, bool copywave) const
 
virtual void CopyWave (TObject &) const
 
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
 
virtual double GetEnergy (Option_t *opt="") const
 
virtual Double_t GetEnergyNonlinearity (double energy) const
 
virtual Short_t GetKValue () const
 
const char * GetName () const override
 
virtual TVector3 GetPosition () const
 
virtual TVector3 GetPosition (Double_t) const
 
EPpgPattern GetPPGStatus () const
 
virtual Int_t GetSegment () const
 
virtual Double_t GetTime (const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
 
double GetTimeSinceTapeMove () const
 
virtual Long64_t GetTimeStamp (Option_t *="") const
 
virtual Long64_t GetTimeStampNs (Option_t *opt="") const
 
virtual Int_t GetTimeStampUnit () const
 
const std::vector< Short_t > * GetWaveform () const
 
virtual bool HasWave () const
 
bool operator< (const TDetectorHit &rhs) const
 
TDetectorHitoperator= (const TDetectorHit &)=default
 
TDetectorHitoperator= (TDetectorHit &&) noexcept=default
 
void Print (Option_t *opt="") const override
 
virtual void Print (std::ostream &out) const
 
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
 
virtual void SetTimeStamp (const Long64_t &val)
 
void SetWaveform (const std::vector< Short_t > &val)
 
bool TestHitBit (EBitFlag flag) const
 
virtual size_t WaveSize () const
 

Static Public Member Functions

static bool CompareEnergy (TDetectorHit *lhs, TDetectorHit *rhs)
 
static TVector3 * GetBeamDirection ()
 

Protected Member Functions

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

Private Attributes

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.}
 
Short_t fKValue {0}
 
EPpgPattern fPPGStatus {EPpgPattern::kJunk}
 
Double_t fTime {0.}
 
Long64_t fTimeStamp {0}
 
std::vector< Short_t > fWaveform
 

Static Private Attributes

static TVector3 fBeamDirection
 

Friends

std::ostream & operator<< (std::ostream &out, const TDetectorHit &hit)
 
+ Inheritance diagram for TDetectorHit:
+ Collaboration diagram for TDetectorHit:

Member Enumeration Documentation

◆ EBitFlag

enum class TDetectorHit::EBitFlag
strong
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.

◆ ETimeFlag

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

Definition at line 72 of file TDetectorHit.h.

Constructor & Destructor Documentation

◆ TDetectorHit() [1/3]

TDetectorHit::TDetectorHit ( const int & Address = 0xffffffff)
explicit

Default constructor

Definition at line 9 of file TDetectorHit.cxx.

References Clear(), and fAddress.

◆ TDetectorHit() [2/3]

TDetectorHit::TDetectorHit ( const TDetectorHit & rhs,
bool copywave = true )

Default Copy constructor

Definition at line 18 of file TDetectorHit.cxx.

References ClearTransients(), Copy(), and CopyWave().

◆ TDetectorHit() [3/3]

TDetectorHit::TDetectorHit ( TDetectorHit && )
defaultnoexcept

◆ ~TDetectorHit()

TDetectorHit::~TDetectorHit ( )
default

Member Function Documentation

◆ Add()

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

!

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

Definition at line 184 of file TDetectorHit.h.

◆ AddWaveformSample()

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

!

Definition at line 117 of file TDetectorHit.h.

References fWaveform.

◆ AppendTimeStamp()

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

!

Definition at line 119 of file TDetectorHit.h.

References fTimeStamp.

◆ Charge()

virtual Float_t TDetectorHit::Charge ( ) const
inlinevirtual

◆ Clear()

◆ ClearChannel()

void TDetectorHit::ClearChannel ( )
inline

Definition at line 176 of file TDetectorHit.h.

References fChannel, kIsChannelSet, and SetHitBit().

◆ ClearEnergy()

void TDetectorHit::ClearEnergy ( )
inline

Definition at line 171 of file TDetectorHit.h.

References fEnergy, kIsEnergySet, and SetHitBit().

◆ ClearTransients()

virtual void TDetectorHit::ClearTransients ( ) const
inlinevirtual

◆ CompareEnergy()

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

Definition at line 209 of file TDetectorHit.cxx.

References GetEnergy().

◆ Copy() [1/2]

◆ Copy() [2/2]

◆ CopyWave()

◆ GetAddress()

◆ GetArrayNumber()

virtual UShort_t TDetectorHit::GetArrayNumber ( ) const
inlinevirtual

! 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 GetDetector().

Referenced by MakeAnalysisHistograms().

◆ GetBeamDirection()

static TVector3 * TDetectorHit::GetBeamDirection ( )
inlinestatic

Definition at line 182 of file TDetectorHit.h.

References fBeamDirection.

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

◆ GetCfd()

◆ GetChannel()

◆ GetChannelNumber()

int TDetectorHit::GetChannelNumber ( ) const
virtual

◆ GetCharge()

◆ GetCrystal()

◆ GetCycleTimeStamp()

Long64_t TDetectorHit::GetCycleTimeStamp ( ) const

◆ GetDetector()

Int_t TDetectorHit::GetDetector ( ) const
virtual

!

Definition at line 182 of file TDetectorHit.cxx.

References 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(), 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().

◆ GetEnergy()

double TDetectorHit::GetEnergy ( Option_t * opt = "") const
virtual

Reimplemented in TCSMHit, TSharc2Hit, TSharcHit, and TSiLiHit.

Definition at line 69 of file TDetectorHit.cxx.

References TChannel::CalibrateENG(), Charge(), fEnergy, fKValue, GetChannel(), GetEnergyNonlinearity(), kIsEnergySet, SetEnergy(), TestHitBit(), and TChannel::UseCalFileIntegration().

Referenced by TFippsHit::Add(), TGriffinHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TTdrTigressHit::Add(), CompareEnergy(), TFippsHit::CompareEnergy(), TGriffinHit::CompareEnergy(), TIfinHit::CompareEnergy(), TTdrCloverHit::CompareEnergy(), TTdrTigressHit::CompareEnergy(), TTigressHit::CompareEnergy(), ComptonHists(), TFipps::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), DefaultFippsSuppression(), DefaultGriffinSuppression(), DefaultIfinSuppression(), DefaultLaBrSuppression(), DefaultSuppression(), DefaultSuppression(), DefaultSuppression(), ExampleFragmentHelper::Exec(), GriffinKValueHelper::Exec(), CrossTalk::FillHistograms(), ExampleFragmentSelector::FillHistograms(), GriffinKValueSelector::FillHistograms(), TSharc2Hit::GetDeltaBackE(), TSharcHit::GetDeltaBackE(), TSharc2Hit::GetDeltaE(), TSharcHit::GetDeltaE(), TSharc2Hit::GetDeltaFrontE(), TSharcHit::GetDeltaFrontE(), TTigressHit::GetDoppler(), TSharc2Hit::GetEnergy(), TSharcHit::GetEnergy(), TSiLiHit::GetEnergy(), TSiLiHit::GetFitEnergy(), TSharc2Hit::GetPadE(), TSharcHit::GetPadE(), GetTime(), TFragment::GetTZero(), MakeAnalysisHistograms(), MakeGRIFFINEnergyHsts(), operator<(), 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(), TTACHit::Print(), TTdrCloverHit::Print(), TTdrPlasticHit::Print(), TTdrSiLiHit::Print(), TTdrTigressHit::Print(), TTigressHit::Print(), TTipHit::Print(), TTrificHit::Print(), TZeroDegreeHit::Print(), PromptCoincidence(), PromptCoincidence(), and TTigressHit::SumHit().

◆ GetEnergyNonlinearity()

Double_t TDetectorHit::GetEnergyNonlinearity ( double energy) const
virtual

Definition at line 92 of file TDetectorHit.cxx.

References GetChannel(), and TChannel::GetEnergyNonlinearity().

Referenced by GetEnergy().

◆ GetKValue()

◆ GetName()

const char * TDetectorHit::GetName ( ) const
override

!

Definition at line 156 of file TDetectorHit.cxx.

References GetChannel().

Referenced by TFragment::IsDetector(), Print(), TTigressHit::Print(), and TTigressHit::SetWavefit().

◆ GetPosition() [1/2]

◆ GetPosition() [2/2]

virtual TVector3 TDetectorHit::GetPosition ( Double_t ) const
inlinevirtual

◆ GetPPGStatus()

◆ GetSegment()

◆ GetTime()

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

Returns a time value to the nearest nanosecond!

Reimplemented in TCSMHit.

Definition at line 41 of file TDetectorHit.cxx.

References fTime, GetCfd(), GetChannel(), GetEnergy(), TChannel::GetTime(), GetTimeStamp(), IsTimeSet(), and 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(), GetTimeSinceTapeMove(), main(), MakeAnalysisHistograms(), TAriesHit::Print(), TDescantHit::Print(), 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().

◆ GetTimeSinceTapeMove()

double TDetectorHit::GetTimeSinceTapeMove ( ) const

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(), GetTime(), GetTimeStampNs(), and kTapeMove.

◆ GetTimeStamp()

◆ GetTimeStampNs()

◆ GetTimeStampUnit()

Int_t TDetectorHit::GetTimeStampUnit ( ) const
virtual

!

Definition at line 232 of file TDetectorHit.cxx.

References GetChannel(), and TChannel::GetTimeStampUnit().

Referenced by GetTimeStampNs(), and Print().

◆ GetWaveform()

◆ HasWave()

◆ IsChannelSet()

Bool_t TDetectorHit::IsChannelSet ( ) const
inlineprotected

Definition at line 191 of file TDetectorHit.h.

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

Referenced by GetChannel().

◆ IsEnergySet()

Bool_t TDetectorHit::IsEnergySet ( ) const
inlineprotected

Definition at line 190 of file TDetectorHit.h.

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

◆ IsPPGSet()

Bool_t TDetectorHit::IsPPGSet ( ) const
inlineprotected

Definition at line 193 of file TDetectorHit.h.

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

Referenced by GetCycleTimeStamp(), and GetPPGStatus().

◆ IsTimeSet()

Bool_t TDetectorHit::IsTimeSet ( ) const
inlineprotected

Definition at line 192 of file TDetectorHit.h.

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

Referenced by GetTime().

◆ operator<()

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

Definition at line 88 of file TDetectorHit.h.

References GetEnergy().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

TDetectorHit & TDetectorHit::operator= ( TDetectorHit && )
defaultnoexcept

◆ Print() [1/2]

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

!

General print statement for a TDetectorHit.

Definition at line 137 of file TDetectorHit.cxx.

References Print().

Referenced by TBgoHit::Print(), Print(), and TTigress::Print().

◆ Print() [2/2]

◆ SetAddress()

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

◆ SetCfd() [1/3]

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

◆ SetCfd() [2/3]

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

! this function automatically randomizes the integer provided

Definition at line 115 of file TDetectorHit.h.

References fCfd.

◆ SetCfd() [3/3]

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

! this function automatically randomizes the integer provided

Definition at line 114 of file TDetectorHit.h.

References fCfd.

◆ SetCharge() [1/2]

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

◆ SetCharge() [2/2]

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

! this function automatically randomizes the integer provided

Definition at line 112 of file TDetectorHit.h.

References fCharge.

◆ SetEnergy()

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

◆ SetHitBit()

void TDetectorHit::SetHitBit ( EBitFlag flag,
Bool_t set = true ) const

◆ SetKValue()

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

◆ SetTime()

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

◆ SetTimeStamp()

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

!

Definition at line 118 of file TDetectorHit.h.

References fTimeStamp.

◆ SetWaveform()

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

◆ TestHitBit()

bool TDetectorHit::TestHitBit ( EBitFlag flag) const
inline

Definition at line 187 of file TDetectorHit.h.

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

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

◆ WaveSize()

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const TDetectorHit & hit )
friend

Definition at line 97 of file TDetectorHit.h.

Member Data Documentation

◆ fAddress

UInt_t TDetectorHit::fAddress {0}
private

address of the the channel in the DAQ.

Definition at line 196 of file TDetectorHit.h.

Referenced by TDetectorHit(), TEagleHit::TEagleHit(), TPinDiodeHit::TPinDiodeHit(), Clear(), Copy(), GetAddress(), GetChannel(), GetChannelNumber(), and SetAddress().

◆ fBeamDirection

TVector3 TDetectorHit::fBeamDirection
staticprivate

Definition at line 213 of file TDetectorHit.h.

Referenced by GetBeamDirection().

◆ fBitFlags

◆ fCfd

Float_t TDetectorHit::fCfd {0}
private

CFD time of the Hit.

Definition at line 199 of file TDetectorHit.h.

Referenced by TEagleHit::TEagleHit(), Clear(), Copy(), GetCfd(), SetCfd(), SetCfd(), and SetCfd().

◆ fChannel

TChannel* TDetectorHit::fChannel {nullptr}
mutableprivate

!

Definition at line 208 of file TDetectorHit.h.

Referenced by Clear(), ClearChannel(), Copy(), and GetChannel().

◆ fCharge

Float_t TDetectorHit::fCharge {0.}
private

charge collected from the hit

Definition at line 197 of file TDetectorHit.h.

Referenced by TEagleHit::TEagleHit(), TPinDiodeHit::TPinDiodeHit(), Charge(), Clear(), Copy(), SetCharge(), and SetCharge().

◆ fCycleTimeStamp

Long64_t TDetectorHit::fCycleTimeStamp {0}
mutableprivate

!

Definition at line 207 of file TDetectorHit.h.

Referenced by Clear(), Copy(), GetCycleTimeStamp(), and GetPPGStatus().

◆ fEnergy

Double_t TDetectorHit::fEnergy {0.}
mutableprivate

! Energy of the Hit.

Definition at line 204 of file TDetectorHit.h.

Referenced by Clear(), ClearEnergy(), Copy(), GetEnergy(), and SetEnergy().

◆ fKValue

Short_t TDetectorHit::fKValue {0}
private

◆ fPPGStatus

EPpgPattern TDetectorHit::fPPGStatus {EPpgPattern::kJunk}
mutableprivate

!

Definition at line 205 of file TDetectorHit.h.

Referenced by Clear(), Copy(), GetCycleTimeStamp(), and GetPPGStatus().

◆ fTime

Double_t TDetectorHit::fTime {0.}
mutableprivate

! Calibrated Time of the hit

Definition at line 202 of file TDetectorHit.h.

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

◆ fTimeStamp

Long64_t TDetectorHit::fTimeStamp {0}
private

Timestamp given to hit in ns.

Definition at line 200 of file TDetectorHit.h.

Referenced by TEagleHit::TEagleHit(), TPinDiodeHit::TPinDiodeHit(), AppendTimeStamp(), Clear(), Copy(), GetTimeStamp(), and SetTimeStamp().

◆ fWaveform

std::vector<Short_t> TDetectorHit::fWaveform
private