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

Detailed Description

TZeroDegreeHit

This is class that contains the information about a ZDS hit. This class is used to find energy, time, etc.

Definition at line 27 of file TZeroDegreeHit.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

 TZeroDegreeHit ()
 
 TZeroDegreeHit (const TFragment &frag)
 
 TZeroDegreeHit (const TZeroDegreeHit &)
 
 TZeroDegreeHit (TZeroDegreeHit &&) noexcept=default
 
 ~TZeroDegreeHit () override=default
 
virtual void Add (const TDetectorHit *)
 
void AddWaveformSample (const Short_t &val)
 
bool AnalyzeWaveform ()
 
virtual void AppendTimeStamp (const Long64_t &val)
 
Int_t CalculateCfd (double attenuation, unsigned int delay, int halfsmoothingwindow, unsigned int interpolationSteps)
 
Int_t CalculateCfdAndMonitor (double attenuation, unsigned int delay, int halfsmoothingwindow, unsigned int interpolationSteps, std::vector< Short_t > &monitor)
 
std::vector< Short_t > CalculateCfdMonitor (double attenuation, int delay, int halfsmoothingwindow)
 
std::vector< Int_t > CalculatePartialSum ()
 
std::vector< Short_t > CalculateSmoothedWaveform (unsigned int halfsmoothingwindow)
 
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) const override
 
virtual void CopyWave (TObject &) const
 
virtual UInt_t GetAddress () const
 
virtual UShort_t GetArrayNumber () const
 
Float_t GetCfd () const override
 
std::vector< int16_t > & GetCfdMonitor ()
 
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
 
Int_t GetFilterPattern () const
 
virtual Short_t GetKValue () const
 
const char * GetName () const override
 
std::vector< int > & GetPartialSum ()
 
virtual TVector3 GetPosition () const
 
virtual TVector3 GetPosition (Double_t) const
 
EPpgPattern GetPPGStatus () const
 
Int_t GetRemainder () 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 InFilter (Int_t)
 
bool operator< (const TDetectorHit &rhs) const
 
TZeroDegreeHitoperator= (const TZeroDegreeHit &)=default
 
TZeroDegreeHitoperator= (TZeroDegreeHit &&) 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 SetFilterPattern (const int &x)
 
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}
 
std::vector< int16_t > fCfdMonitor
 
TChannelfChannel {nullptr}
 
Float_t fCharge {0.}
 
Long64_t fCycleTimeStamp {0}
 
Double_t fEnergy {0.}
 
Int_t fFilter {0}
 
Short_t fKValue {0}
 
std::vector< int > fPartialSum
 
EPpgPattern fPPGStatus {EPpgPattern::kJunk}
 
Double_t fTime {0.}
 
Long64_t fTimeStamp {0}
 
std::vector< Short_t > fWaveform
 

Static Private Attributes

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

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.

◆ ETimeFlag

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

Definition at line 72 of file TDetectorHit.h.

Constructor & Destructor Documentation

◆ TZeroDegreeHit() [1/4]

TZeroDegreeHit::TZeroDegreeHit ( )

Definition at line 13 of file TZeroDegreeHit.cxx.

References Clear().

◆ TZeroDegreeHit() [2/4]

TZeroDegreeHit::TZeroDegreeHit ( const TZeroDegreeHit & rhs)

Definition at line 34 of file TZeroDegreeHit.cxx.

References Clear(), and Copy().

◆ TZeroDegreeHit() [3/4]

TZeroDegreeHit::TZeroDegreeHit ( TZeroDegreeHit && )
defaultnoexcept

◆ TZeroDegreeHit() [4/4]

TZeroDegreeHit::TZeroDegreeHit ( const TFragment & frag)
explicit

◆ ~TZeroDegreeHit()

TZeroDegreeHit::~TZeroDegreeHit ( )
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.

◆ AnalyzeWaveform()

bool TZeroDegreeHit::AnalyzeWaveform ( )

◆ AppendTimeStamp()

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

!

Definition at line 119 of file TDetectorHit.h.

References TDetectorHit::fTimeStamp.

◆ CalculateCfd()

Int_t TZeroDegreeHit::CalculateCfd ( double attenuation,
unsigned int delay,
int halfsmoothingwindow,
unsigned int interpolationSteps )

!

Used when calculating the CFD from the waveform

Definition at line 145 of file TZeroDegreeHit.cxx.

References CalculateCfdAndMonitor().

Referenced by AnalyzeWaveform().

◆ CalculateCfdAndMonitor()

Int_t TZeroDegreeHit::CalculateCfdAndMonitor ( double attenuation,
unsigned int delay,
int halfsmoothingwindow,
unsigned int interpolationSteps,
std::vector< Short_t > & monitor )

!

Used when calculating the CFD from the waveform

Definition at line 154 of file TZeroDegreeHit.cxx.

References CalculateSmoothedWaveform(), fCfdMonitor, TGRSIOptions::Get(), TDetectorHit::GetCfd(), TDetectorHit::GetWaveform(), TDetectorHit::HasWave(), and TDetectorHit::WaveSize().

Referenced by CalculateCfd().

◆ CalculateCfdMonitor()

std::vector< Short_t > TZeroDegreeHit::CalculateCfdMonitor ( double attenuation,
int delay,
int halfsmoothingwindow )

!

Used when calculating the CFD from the waveform

Definition at line 240 of file TZeroDegreeHit.cxx.

References CalculateSmoothedWaveform(), TDetectorHit::GetWaveform(), and TDetectorHit::HasWave().

◆ CalculatePartialSum()

std::vector< Int_t > TZeroDegreeHit::CalculatePartialSum ( )

◆ CalculateSmoothedWaveform()

std::vector< Short_t > TZeroDegreeHit::CalculateSmoothedWaveform ( unsigned int halfsmoothingwindow)

!

Used when calculating the CFD from the waveform

Definition at line 220 of file TZeroDegreeHit.cxx.

References TDetectorHit::GetWaveform(), TDetectorHit::HasWave(), and TDetectorHit::WaveSize().

Referenced by CalculateCfdAndMonitor(), and CalculateCfdMonitor().

◆ Charge()

◆ Clear()

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

!

Clears the ZeroDegreeHit

Definition at line 81 of file TZeroDegreeHit.cxx.

References TDetectorHit::Clear(), fCfdMonitor, fFilter, and fPartialSum.

Referenced by TZeroDegreeHit(), and TZeroDegreeHit().

◆ 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]

void TZeroDegreeHit::Copy ( TObject & rhs) const
override

◆ Copy() [2/2]

void TZeroDegreeHit::Copy ( TObject & obj,
bool waveform ) const
overridevirtual

!

Reimplemented from TDetectorHit.

Definition at line 53 of file TZeroDegreeHit.cxx.

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

◆ CopyWave()

◆ 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 TSiLiHit::GetDoppler(), and TTigressHit::GetDoppler().

◆ GetCfd()

Float_t TZeroDegreeHit::GetCfd ( ) const
overridevirtual

!

special function for TZeroDegreeHit to return CFD after mapping out the high bits which are the remainder between the 125 MHz data and the 100 MHz timestamp clock

Reimplemented from TDetectorHit.

Definition at line 68 of file TZeroDegreeHit.cxx.

References TDetectorHit::GetCfd().

◆ GetCfdMonitor()

std::vector< int16_t > & TZeroDegreeHit::GetCfdMonitor ( )
inline

Definition at line 48 of file TZeroDegreeHit.h.

References fCfdMonitor.

◆ GetChannel()

◆ GetChannelNumber()

int TDetectorHit::GetChannelNumber ( ) const
virtualinherited

◆ GetCharge()

◆ GetCrystal()

◆ GetCycleTimeStamp()

◆ 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(), Print(), and PromptCoincidence().

◆ GetEnergy()

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

Reimplemented in TCSMHit, TSharc2Hit, TSharcHit, and TSiLiHit.

Definition at line 69 of file TDetectorHit.cxx.

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

Referenced by TFippsHit::Add(), TGriffinHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TTdrTigressHit::Add(), TDetectorHit::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(), TDetectorHit::GetTime(), TFragment::GetTZero(), MakeAnalysisHistograms(), MakeGRIFFINEnergyHsts(), TDetectorHit::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(), Print(), PromptCoincidence(), PromptCoincidence(), and TTigressHit::SumHit().

◆ GetEnergyNonlinearity()

Double_t TDetectorHit::GetEnergyNonlinearity ( double energy) const
virtualinherited

◆ GetFilterPattern()

Int_t TZeroDegreeHit::GetFilterPattern ( ) const
inline

!

Definition at line 47 of file TZeroDegreeHit.h.

References fFilter.

◆ GetKValue()

◆ GetName()

const char * TDetectorHit::GetName ( ) const
overrideinherited

◆ GetPartialSum()

std::vector< int > & TZeroDegreeHit::GetPartialSum ( )
inline

Definition at line 49 of file TZeroDegreeHit.h.

References fPartialSum.

◆ GetPosition() [1/2]

◆ GetPosition() [2/2]

virtual TVector3 TDetectorHit::GetPosition ( Double_t ) const
inlinevirtualinherited

◆ GetPPGStatus()

◆ GetRemainder()

Int_t TZeroDegreeHit::GetRemainder ( ) const

returns the remainder between 100 MHz/10ns timestamp and 125 MHz/8 ns data in ns

Definition at line 75 of file TZeroDegreeHit.cxx.

References TDetectorHit::GetCfd().

◆ GetSegment()

◆ 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(), 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
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()

◆ GetTimeStampNs()

◆ GetTimeStampUnit()

Int_t TDetectorHit::GetTimeStampUnit ( ) const
virtualinherited

◆ GetWaveform()

◆ HasWave()

◆ InFilter()

bool TZeroDegreeHit::InFilter ( Int_t )

!

check if the desired filter is in wanted filter; return the answer;

Definition at line 61 of file TZeroDegreeHit.cxx.

◆ 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

◆ operator<()

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

Definition at line 88 of file TDetectorHit.h.

References TDetectorHit::GetEnergy().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

TZeroDegreeHit & TZeroDegreeHit::operator= ( TZeroDegreeHit && )
defaultnoexcept

◆ Print() [1/2]

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

!

Prints the ZeroDegreeHit. Returns: Detector Energy Time

Definition at line 90 of file TZeroDegreeHit.cxx.

References Print().

Referenced by Print().

◆ Print() [2/2]

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

!

Reimplemented from TDetectorHit.

Definition at line 99 of file TZeroDegreeHit.cxx.

References TDetectorHit::GetDetector(), TDetectorHit::GetEnergy(), and TDetectorHit::GetTime().

◆ 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()

◆ SetFilterPattern()

void TZeroDegreeHit::SetFilterPattern ( const int & x)
inline

!

Definition at line 44 of file TZeroDegreeHit.h.

References fFilter.

◆ SetHitBit()

◆ SetKValue()

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

◆ SetTime()

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

◆ SetTimeStamp()

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

!

Definition at line 118 of file TDetectorHit.h.

References TDetectorHit::fTimeStamp.

◆ SetWaveform()

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

◆ TestHitBit()

bool TDetectorHit::TestHitBit ( EBitFlag flag) const
inlineinherited

◆ WaveSize()

Member Data Documentation

◆ 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

◆ fCfdMonitor

std::vector<int16_t> TZeroDegreeHit::fCfdMonitor
private

Definition at line 39 of file TZeroDegreeHit.h.

Referenced by CalculateCfdAndMonitor(), Clear(), Copy(), and GetCfdMonitor().

◆ 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

◆ fFilter

Int_t TZeroDegreeHit::fFilter {0}
private

Definition at line 38 of file TZeroDegreeHit.h.

Referenced by Clear(), Copy(), GetFilterPattern(), and SetFilterPattern().

◆ fKValue

◆ fPartialSum

std::vector<int> TZeroDegreeHit::fPartialSum
private

Definition at line 40 of file TZeroDegreeHit.h.

Referenced by CalculatePartialSum(), Clear(), Copy(), and GetPartialSum().

◆ fPPGStatus

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

◆ 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().

◆ fTimeStamp

Long64_t TDetectorHit::fTimeStamp {0}
privateinherited

◆ fWaveform