GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TZeroDegreeHit Class Reference

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

Public Member Functions

 TZeroDegreeHit ()
 
 TZeroDegreeHit (const TZeroDegreeHit &)
 
 TZeroDegreeHit (const TFragment &frag)
 
 ~TZeroDegreeHit () override
 
virtual void Add (const TDetectorHit *)
 
void AddWaveformSample (const Short_t &x)
 
bool AnalyzeWaveform ()
 
virtual void AppendTimeStamp (const Long64_t &x)
 
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< short > & GetCfdMonitor ()
 
TChannelGetChannel () 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 (Double_t) const
 
virtual TVector3 GetPosition () 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
 
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 &x)
 
virtual void SetCfd (const uint32_t &x)
 
virtual void SetCfd (const Int_t &x)
 
void SetCharge (const Float_t &temp_charge)
 
void SetCharge (const Int_t &temp_charge)
 
Double_t SetEnergy (const double &en) 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 &x)
 
void SetWaveform (const std::vector< Short_t > &x)
 
bool TestHitBit (EBitFlag flag) const
 

Static Public Member Functions

static bool CompareEnergy (TDetectorHit *lhs, TDetectorHit *rhs)
 
static TVector3 * GetBeamDirection ()
 
static void SetPPGPtr (TPPG *ptr)
 

Protected Member Functions

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

Protected Attributes

UInt_t fAddress {0}
 
TTransientBits< UChar_t > fBitFlags
 
Float_t fCfd {0}
 
Float_t fCharge {0.}
 
Short_t fKValue {0}
 
Double_t fTime {0.}
 
Long64_t fTimeStamp {0}
 
std::vector< Short_t > fWaveform
 

Static Protected Attributes

static TVector3 fBeamDirection
 
static TPPGfPPG = nullptr
 

Private Attributes

std::vector< short > fCfdMonitor
 
Int_t fFilter {0}
 
std::vector< int > fPartialSum
 

#include <TZeroDegreeHit.h>

+ Inheritance diagram for TZeroDegreeHit:
+ Collaboration diagram for TZeroDegreeHit:

Member Enumeration Documentation

◆ EBitFlag

enum 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 52 of file TDetectorHit.h.

◆ ETimeFlag

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

Definition at line 79 of file TDetectorHit.h.

Constructor & Destructor Documentation

◆ TZeroDegreeHit() [1/3]

TZeroDegreeHit::TZeroDegreeHit ( )

Definition at line 17 of file TZeroDegreeHit.cxx.

◆ ~TZeroDegreeHit()

TZeroDegreeHit::~TZeroDegreeHit ( )
overridedefault

◆ TZeroDegreeHit() [2/3]

TZeroDegreeHit::TZeroDegreeHit ( const TZeroDegreeHit rhs)

Definition at line 42 of file TZeroDegreeHit.cxx.

References Clear(), and Copy().

◆ TZeroDegreeHit() [3/3]

TZeroDegreeHit::TZeroDegreeHit ( const TFragment frag)

Member Function Documentation

◆ Add()

virtual void TDetectorHit::Add ( const TDetectorHit )
inlinevirtualinherited

!

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

Definition at line 187 of file TDetectorHit.h.

◆ AddWaveformSample()

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

!

Definition at line 121 of file TDetectorHit.h.

References TDetectorHit::fWaveform.

◆ AnalyzeWaveform()

bool TZeroDegreeHit::AnalyzeWaveform ( )

!

Calculates the cfd time from the waveform

Definition at line 119 of file TZeroDegreeHit.cxx.

References CalculateCfd(), CalculatePartialSum(), TDetectorHit::fWaveform, TDetectorHit::SetCfd(), and TDetectorHit::SetCharge().

Referenced by TZeroDegreeHit().

◆ AppendTimeStamp()

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

!

Definition at line 123 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 157 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 166 of file TZeroDegreeHit.cxx.

References CalculateSmoothedWaveform(), TDetectorHit::fCfd, fCfdMonitor, TDetectorHit::fWaveform, and TGRSIOptions::Get().

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 252 of file TZeroDegreeHit.cxx.

References CalculateSmoothedWaveform(), and TDetectorHit::fWaveform.

◆ 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 232 of file TZeroDegreeHit.cxx.

References TDetectorHit::fWaveform.

Referenced by CalculateCfdAndMonitor(), and CalculateCfdMonitor().

◆ Charge()

◆ Clear()

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

!

Clears the ZeroDegreeHit

Definition at line 92 of file TZeroDegreeHit.cxx.

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

Referenced by 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 219 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 64 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 TTigressHit, TTdrTigressHit, TGriffinHit, TTdrCloverHit, TGriffinBgoHit, TLaBrBgoHit, TFippsBgoHit, TFippsHit, TFippsLaBrBgoHit, TIfinBgoHit, TIfinHit, and TBgoHit.

Definition at line 166 of file TDetectorHit.h.

References TDetectorHit::GetDetector().

Referenced by MakeAnalysisHistograms().

◆ GetBeamDirection()

static TVector3* TDetectorHit::GetBeamDirection ( )
inlinestaticinherited

Definition at line 185 of file TDetectorHit.h.

References TDetectorHit::fBeamDirection.

Referenced by TTigressHit::GetDoppler(), and TSiLiHit::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 79 of file TZeroDegreeHit.cxx.

References TDetectorHit::fCfd.

◆ GetCfdMonitor()

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

Definition at line 45 of file TZeroDegreeHit.h.

References fCfdMonitor.

◆ GetChannel()

◆ GetCharge()

◆ GetCrystal()

◆ GetCycleTimeStamp()

◆ GetDetector()

Int_t TDetectorHit::GetDetector ( ) const
virtualinherited

!

Definition at line 192 of file TDetectorHit.cxx.

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

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

◆ GetEnergy()

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

Reimplemented in TCSMHit, TSharcHit, and TSiLiHit.

Definition at line 84 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(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), TFippsHit::CompareEnergy(), TIfinHit::CompareEnergy(), TTdrCloverHit::CompareEnergy(), TGriffinHit::CompareEnergy(), TTdrTigressHit::CompareEnergy(), TDetectorHit::CompareEnergy(), TTigressHit::CompareEnergy(), TFipps::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), DefaultFippsSuppression(), DefaultGriffinSuppression(), DefaultIfinSuppression(), DefaultSuppression(), exAnalysis(), GriffinKValueSelector::FillHistograms(), ExampleFragmentSelector::FillHistograms(), CrossTalk::FillHistograms(), TSharcHit::GetDeltaBackE(), TSharcHit::GetDeltaE(), TSharcHit::GetDeltaFrontE(), TTigressHit::GetDoppler(), TSiLiHit::GetEnergy(), TSharcHit::GetEnergy(), TSiLiHit::GetFitEnergy(), TSharcHit::GetPadE(), TDetectorHit::GetTime(), TFragment::GetTZero(), main(), MakeAnalysisHistograms(), MakeGRIFFINEnergyHsts(), TDetectorHit::operator<(), TFippsLaBrHit::Print(), TFippsHit::Print(), TIfinHit::Print(), TFippsTACHit::Print(), TPinDiodeHit::Print(), TEagleHit::Print(), TPacesHit::Print(), TTdrSiLiHit::Print(), TTrificHit::Print(), TLaBrHit::Print(), TTdrPlasticHit::Print(), TTACHit::Print(), TSceptarHit::Print(), Print(), TGriffinHit::Print(), TTdrCloverHit::Print(), TTdrTigressHit::Print(), TDescantHit::Print(), TTipHit::Print(), TTigressHit::Print(), PromptCoincidence(), and TTigressHit::SumHit().

◆ GetEnergyNonlinearity()

Double_t TDetectorHit::GetEnergyNonlinearity ( double  energy) const
virtualinherited

◆ GetFilterPattern()

Int_t TZeroDegreeHit::GetFilterPattern ( ) const
inline

!

Definition at line 44 of file TZeroDegreeHit.h.

References fFilter.

◆ GetKValue()

◆ GetName()

const char * TDetectorHit::GetName ( ) const
overrideinherited

◆ GetPartialSum()

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

Definition at line 46 of file TZeroDegreeHit.h.

References fPartialSum.

◆ GetPosition() [1/2]

virtual TVector3 TDetectorHit::GetPosition ( Double_t  ) const
inlinevirtualinherited

◆ GetPosition() [2/2]

virtual TVector3 TDetectorHit::GetPosition ( ) 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 86 of file TZeroDegreeHit.cxx.

References TDetectorHit::fCfd.

◆ 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 56 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(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), Addback(), TFipps::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), DefaultAddback(), DefaultFippsSuppression(), DefaultGriffinSuppression(), DefaultIfinSuppression(), DefaultSuppression(), exAnalysis(), TSiLi::fCoincidenceTime(), TSharcHit::GetDeltaBackT(), TSharcHit::GetDeltaFrontT(), TSharcHit::GetDeltaT(), TSharcHit::GetPadT(), TFippsTACHit::GetTempCorrectedCharge(), TTACHit::GetTempCorrectedCharge(), TDetectorHit::GetTimeSinceTapeMove(), main(), MakeAnalysisHistograms(), TFippsLaBrHit::Print(), TFippsHit::Print(), TIfinHit::Print(), TPinDiodeHit::Print(), TFippsTACHit::Print(), TTdrSiLiHit::Print(), TTrificHit::Print(), TPacesHit::Print(), TLaBrHit::Print(), TTdrPlasticHit::Print(), TTACHit::Print(), TSceptarHit::Print(), Print(), TTdrCloverHit::Print(), TGriffinHit::Print(), TTdrTigressHit::Print(), TDescantHit::Print(), TTipHit::Print(), TDetectorHit::Print(), TTigressHit::Print(), PromptCoincidence(), TTigressHit::SumHit(), TFippsTACHit::TempCorrectedCharge(), and TTACHit::TempCorrectedCharge().

◆ GetTimeSinceTapeMove()

double TDetectorHit::GetTimeSinceTapeMove ( ) const
inherited

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

Definition at line 274 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()

const std::vector<Short_t>* TDetectorHit::GetWaveform ( ) const
inlineinherited

◆ HasWave()

virtual bool TDetectorHit::HasWave ( ) const
inlinevirtualinherited

!

Definition at line 107 of file TDetectorHit.h.

References TDetectorHit::fWaveform.

Referenced by TFragment::Print(), and TPulseAnalyzer::SetData().

◆ InFilter()

bool TZeroDegreeHit::InFilter ( Int_t  )

!

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

Definition at line 72 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 93 of file TDetectorHit.h.

References TDetectorHit::GetEnergy().

◆ Print() [1/2]

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

!

Prints the ZeroDegreeHit. Returns: Detector Energy Time

Definition at line 101 of file TZeroDegreeHit.cxx.

◆ Print() [2/2]

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

!

Reimplemented from TDetectorHit.

Definition at line 110 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 &  x)
inlinevirtualinherited

◆ SetCfd() [2/3]

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

! this function automatically randomizes the integer provided

Definition at line 118 of file TDetectorHit.h.

References TDetectorHit::fCfd.

◆ SetCfd() [3/3]

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

! this function automatically randomizes the integer provided

Definition at line 119 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 116 of file TDetectorHit.h.

References TDetectorHit::fCharge.

◆ SetEnergy()

◆ SetFilterPattern()

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

!

Definition at line 41 of file TZeroDegreeHit.h.

References fFilter.

◆ SetHitBit()

◆ SetKValue()

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

◆ SetPPGPtr()

static void TDetectorHit::SetPPGPtr ( TPPG ptr)
inlinestaticinherited

Definition at line 91 of file TDetectorHit.h.

References TDetectorHit::fPPG.

◆ SetTime()

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

◆ SetTimeStamp()

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

!

Definition at line 122 of file TDetectorHit.h.

References TDetectorHit::fTimeStamp.

Referenced by TEmma::BuildHits().

◆ SetWaveform()

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

◆ TestHitBit()

bool TDetectorHit::TestHitBit ( EBitFlag  flag) const
inlineinherited

Member Data Documentation

◆ fAddress

◆ fBeamDirection

TVector3 TDetectorHit::fBeamDirection
staticprotectedinherited

Definition at line 222 of file TDetectorHit.h.

Referenced by TDetectorHit::GetBeamDirection().

◆ fBitFlags

◆ fCfd

◆ fCfdMonitor

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

Definition at line 36 of file TZeroDegreeHit.h.

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

◆ fCharge

Float_t TDetectorHit::fCharge {0.}
protectedinherited

◆ fFilter

Int_t TZeroDegreeHit::fFilter {0}
private

Definition at line 35 of file TZeroDegreeHit.h.

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

◆ fKValue

◆ fPartialSum

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

Definition at line 37 of file TZeroDegreeHit.h.

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

◆ fPPG

TPPG * TDetectorHit::fPPG = nullptr
staticprotectedinherited

Definition at line 219 of file TDetectorHit.h.

Referenced by TGriffinHit::Clear(), TGriffinHit::Copy(), and TDetectorHit::SetPPGPtr().

◆ fTime

Double_t TDetectorHit::fTime {0.}
mutableprotectedinherited

! Calibrated Time of the hit

Definition at line 209 of file TDetectorHit.h.

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

◆ fTimeStamp

◆ fWaveform