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

Detailed Description

This Class contains all of the information in an event fragment for HIL data. This is used to pass an event straight from the raw-file to the event queue (the event building loop does nothing apart from passing this straight on).

Definition at line 23 of file THILFragment.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

 THILFragment ()
 
 THILFragment (const THILFragment &)
 
 ~THILFragment ()
 
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
 
TObject * Clone (const char *name="") const override
 
void Copy (TObject &) const override
 
virtual void Copy (TObject &, bool copywave) const
 
virtual void CopyWave (TObject &) const
 
uint32_t EventNumber () const
 
void EventNumber (const uint32_t &eventNumber)
 
uint64_t EventTime () const
 
void EventTime (const uint64_t &eventTime)
 
std::vector< uint16_t > GermaniumEnergy () const
 
void GermaniumEnergy (const std::vector< uint16_t > &geEnergy)
 
uint16_t GermaniumEnergy (size_t index) const
 
std::vector< uint8_t > GermaniumId () const
 
void GermaniumId (const std::vector< uint8_t > &geId)
 
uint8_t GermaniumId (size_t index) const
 
size_t GermaniumMultiplicity () const
 
std::vector< uint16_t > GermaniumTime () const
 
void GermaniumTime (const std::vector< uint16_t > &geTime)
 
uint16_t GermaniumTime (size_t index) const
 
Int_t Get4GCfd () const
 
UShort_t GetAcceptedChannelId () const
 
virtual UInt_t GetAddress () const
 
virtual UShort_t GetArrayNumber () const
 
Int_t GetCcLong () const
 
Int_t GetCcShort () const
 
virtual Float_t GetCfd () const
 
TChannelGetChannel () const
 
UInt_t GetChannelId () const
 
virtual int GetChannelNumber () const
 
virtual Float_t GetCharge () const
 
virtual Int_t GetCrystal () const
 
ULong64_t GetCycleNumber ()
 
Long64_t GetCycleTimeStamp () const
 
Int_t GetDaqId () const
 
time_t GetDaqTimeStamp () const
 
UShort_t GetDeadTime () const
 
virtual Int_t GetDetector () const
 
UShort_t GetDetectorType () const
 
virtual double GetEnergy (Option_t *opt="") const
 
virtual Double_t GetEnergyNonlinearity (double energy) const
 
Long64_t GetEntryNumber () const
 
Int_t GetFragmentId () const
 
virtual Short_t GetKValue () const
 
UShort_t GetModuleType () const
 
const char * GetName () const override
 
Int_t GetNetworkPacketNumber () const
 
UShort_t GetNumberOfFilters () const
 
Short_t GetNumberOfPileups () const
 
UShort_t GetNumberOfWords () const
 
virtual TVector3 GetPosition () const
 
virtual TVector3 GetPosition (Double_t) const
 
TPPGGetPPG ()
 
EPpgPattern GetPPGStatus () const
 
virtual Int_t GetSegment () const
 
Int_t GetSharcMesyBoard () const
 
virtual Double_t GetTime (const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
 
ULong64_t GetTimeInCycle ()
 
double GetTimeSinceTapeMove () const
 
virtual Long64_t GetTimeStamp (Option_t *="") const
 
virtual Long64_t GetTimeStampNs (Option_t *opt="") const
 
virtual Int_t GetTimeStampUnit () const
 
Int_t GetTriggerBitPattern () const
 
Long_t GetTriggerId (size_t iter=0) const
 
double GetTZero () const
 
const std::vector< Short_t > * GetWaveform () const
 
Int_t GetZc () const
 
bool Good (bool verbose=false) const
 
virtual bool HasWave () const
 
bool IsDetector (const char *prefix, Option_t *opt="CA") const
 
uint16_t MicrosecondTime () const
 
void MicrosecondTime (const uint16_t &usTime)
 
bool operator< (const TDetectorHit &rhs) const
 
bool operator< (const TFragment &rhs) const
 
THILFragmentoperator= (const THILFragment &)=default
 
bool operator> (const TFragment &rhs) const
 
void Print (Option_t *opt="") const override
 
void Print (std::ostream &out) const override
 
void SetAcceptedChannelId (UShort_t value)
 
void SetAddress (const UInt_t &temp_address)
 
void SetCcLong (Int_t value)
 
void SetCcShort (Int_t value)
 
virtual void SetCfd (const Float_t &val)
 
virtual void SetCfd (const Int_t &val)
 
virtual void SetCfd (const uint32_t &val)
 
void SetChannelId (UInt_t value)
 
void SetCharge (const Float_t &temp_charge)
 
void SetCharge (const Int_t &temp_charge)
 
void SetDaqId (Int_t value)
 
void SetDaqTimeStamp (time_t value)
 
void SetDeadTime (UShort_t value)
 
void SetDetectorType (UShort_t value)
 
Double_t SetEnergy (const double &energy) const
 
void SetEntryNumber ()
 
void SetFragmentId (Int_t value)
 
void SetHitBit (EBitFlag, Bool_t set=true) const
 
void SetKValue (const Short_t &temp_kval)
 
void SetModuleType (UShort_t value)
 
void SetNetworkPacketNumber (Int_t value)
 
void SetNumberOfFilters (UShort_t)
 
void SetNumberOfPileups (Short_t value)
 
void SetNumberOfWords (UShort_t value)
 
Double_t SetTime (const Double_t &time) const
 
virtual void SetTimeStamp (const Long64_t &val)
 
void SetTriggerBitPattern (Int_t value)
 
void SetTriggerId (Long_t value)
 
void SetWaveform (const std::vector< Short_t > &val)
 
void SetZc (Int_t value)
 
std::vector< uint16_t > SiliconEnergy () const
 
void SiliconEnergy (const std::vector< uint16_t > &siEnergy)
 
uint16_t SiliconEnergy (size_t index) const
 
std::vector< uint8_t > SiliconId () const
 
void SiliconId (const std::vector< uint8_t > &siId)
 
uint8_t SiliconId (size_t index) const
 
size_t SiliconMultiplicity () const
 
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 fAcceptedChannelId
 
UInt_t fAddress {0}
 
TTransientBits< UChar_t > fBitFlags
 
Int_t fCcLong
 
Int_t fCcShort
 
Float_t fCfd {0}
 
TChannelfChannel {nullptr}
 
UInt_t fChannelId
 
Float_t fCharge {0.}
 
Long64_t fCycleTimeStamp {0}
 
Int_t fDaqId
 
time_t fDaqTimeStamp
 
UShort_t fDeadTime
 
UShort_t fDetectorType
 
Double_t fEnergy {0.}
 
Long64_t fEntryNumber
 
uint32_t fEventNumber {0}
 
uint64_t fEventTime {0}
 
Int_t fFragmentId
 
std::vector< uint16_t > fGermaniumEnergy
 
std::vector< uint8_t > fGermaniumId
 
std::vector< uint16_t > fGermaniumTime
 
Short_t fKValue {0}
 
UShort_t fModuleType
 
Int_t fNetworkPacketNumber
 
Short_t fNumberOfPileups
 
UShort_t fNumberOfWords
 
TPPGfPPG
 
EPpgPattern fPPGStatus {EPpgPattern::kJunk}
 
std::vector< uint16_t > fSiliconEnergy
 
std::vector< uint8_t > fSiliconId
 
Double_t fTime {0.}
 
Long64_t fTimeStamp {0}
 
Int_t fTriggerBitPattern
 
std::vector< Long_t > fTriggerId
 
uint16_t fUsTime {0}
 
std::vector< Short_t > fWaveform
 
Int_t fZc
 

Static Private Attributes

static TVector3 fBeamDirection
 
static Long64_t fNumberOfFragments = 0
 
+ Inheritance diagram for THILFragment:
+ Collaboration diagram for THILFragment:

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

◆ THILFragment() [1/2]

THILFragment::THILFragment ( )

Default constructor

Definition at line 4 of file THILFragment.cxx.

References Clear().

Referenced by Clone().

◆ THILFragment() [2/2]

THILFragment::THILFragment ( const THILFragment & rhs)

Copy constructor

Definition at line 10 of file THILFragment.cxx.

References fEventNumber, fEventTime, fGermaniumEnergy, fGermaniumId, fGermaniumTime, fSiliconEnergy, fSiliconId, and fUsTime.

◆ ~THILFragment()

THILFragment::~THILFragment ( )

Default destructor

Definition at line 23 of file THILFragment.cxx.

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 THILFragment::Clear ( Option_t * opt = "")
override

Clears all fields of the THILFragment and TFragment

Definition at line 28 of file THILFragment.cxx.

References TFragment::Clear(), fEventNumber, fEventTime, fGermaniumEnergy, fGermaniumId, fGermaniumTime, fSiliconEnergy, fSiliconId, and fUsTime.

Referenced by THILFragment().

◆ ClearChannel()

void TDetectorHit::ClearChannel ( )
inlineinherited

◆ ClearEnergy()

void TDetectorHit::ClearEnergy ( )
inlineinherited

◆ ClearTransients()

virtual void TDetectorHit::ClearTransients ( ) const
inlinevirtualinherited

◆ Clone()

TObject * THILFragment::Clone ( const char * name = "") const
override

Definition at line 42 of file THILFragment.cxx.

References THILFragment().

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

◆ CopyWave()

◆ EventNumber() [1/2]

uint32_t THILFragment::EventNumber ( ) const
inline

Definition at line 46 of file THILFragment.h.

References fEventNumber.

◆ EventNumber() [2/2]

void THILFragment::EventNumber ( const uint32_t & eventNumber)
inline

Definition at line 55 of file THILFragment.h.

References fEventNumber.

◆ EventTime() [1/2]

uint64_t THILFragment::EventTime ( ) const
inline

Definition at line 47 of file THILFragment.h.

References fEventTime.

◆ EventTime() [2/2]

void THILFragment::EventTime ( const uint64_t & eventTime)
inline

Definition at line 56 of file THILFragment.h.

References fEventTime.

◆ GermaniumEnergy() [1/3]

std::vector< uint16_t > THILFragment::GermaniumEnergy ( ) const
inline

Definition at line 37 of file THILFragment.h.

References fGermaniumEnergy.

◆ GermaniumEnergy() [2/3]

void THILFragment::GermaniumEnergy ( const std::vector< uint16_t > & geEnergy)
inline

Definition at line 51 of file THILFragment.h.

References fGermaniumEnergy.

◆ GermaniumEnergy() [3/3]

uint16_t THILFragment::GermaniumEnergy ( size_t index) const
inline

Definition at line 42 of file THILFragment.h.

References fGermaniumEnergy.

◆ GermaniumId() [1/3]

std::vector< uint8_t > THILFragment::GermaniumId ( ) const
inline

Definition at line 36 of file THILFragment.h.

References fGermaniumId.

◆ GermaniumId() [2/3]

void THILFragment::GermaniumId ( const std::vector< uint8_t > & geId)
inline

Definition at line 50 of file THILFragment.h.

References fGermaniumId.

◆ GermaniumId() [3/3]

uint8_t THILFragment::GermaniumId ( size_t index) const
inline

Definition at line 41 of file THILFragment.h.

References fGermaniumId.

◆ GermaniumMultiplicity()

size_t THILFragment::GermaniumMultiplicity ( ) const
inline

Definition at line 33 of file THILFragment.h.

References fGermaniumId.

◆ GermaniumTime() [1/3]

std::vector< uint16_t > THILFragment::GermaniumTime ( ) const
inline

Definition at line 38 of file THILFragment.h.

References fGermaniumTime.

◆ GermaniumTime() [2/3]

void THILFragment::GermaniumTime ( const std::vector< uint16_t > & geTime)
inline

Definition at line 52 of file THILFragment.h.

References fGermaniumTime.

◆ GermaniumTime() [3/3]

uint16_t THILFragment::GermaniumTime ( size_t index) const
inline

Definition at line 43 of file THILFragment.h.

References fGermaniumTime.

◆ Get4GCfd()

Int_t TFragment::Get4GCfd ( ) const
inherited

Definition at line 62 of file TFragment.cxx.

References TDetectorHit::GetCfd().

◆ GetAcceptedChannelId()

UShort_t TFragment::GetAcceptedChannelId ( ) const
inlineinherited

Definition at line 65 of file TFragment.h.

References TFragment::fAcceptedChannelId.

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

◆ GetCcLong()

Int_t TFragment::GetCcLong ( ) const
inlineinherited

Definition at line 66 of file TFragment.h.

References TFragment::fCcLong.

Referenced by TDescantHit::TDescantHit().

◆ GetCcShort()

Int_t TFragment::GetCcShort ( ) const
inlineinherited

Definition at line 67 of file TFragment.h.

References TFragment::fCcShort.

Referenced by TDescantHit::TDescantHit().

◆ GetCfd()

◆ GetChannel()

◆ GetChannelId()

UInt_t TFragment::GetChannelId ( ) const
inlineinherited

Definition at line 68 of file TFragment.h.

References TFragment::fChannelId.

◆ GetChannelNumber()

int TDetectorHit::GetChannelNumber ( ) const
virtualinherited

◆ GetCharge()

◆ GetCrystal()

◆ GetCycleNumber()

ULong64_t TFragment::GetCycleNumber ( )
inherited

◆ GetCycleTimeStamp()

◆ GetDaqId()

Int_t TFragment::GetDaqId ( ) const
inlineinherited

Definition at line 73 of file TFragment.h.

References TFragment::fDaqId.

◆ GetDaqTimeStamp()

time_t TFragment::GetDaqTimeStamp ( ) const
inlineinherited

Definition at line 75 of file TFragment.h.

References TFragment::fDaqTimeStamp.

◆ GetDeadTime()

UShort_t TFragment::GetDeadTime ( ) const
inlineinherited

Definition at line 71 of file TFragment.h.

References TFragment::fDeadTime.

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

◆ GetDetectorType()

UShort_t TFragment::GetDetectorType ( ) const
inlineinherited

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

◆ GetEnergyNonlinearity()

Double_t TDetectorHit::GetEnergyNonlinearity ( double energy) const
virtualinherited

◆ GetEntryNumber()

Long64_t TFragment::GetEntryNumber ( ) const
inlineinherited

Definition at line 69 of file TFragment.h.

References TFragment::fEntryNumber.

◆ GetFragmentId()

Int_t TFragment::GetFragmentId ( ) const
inlineinherited

Definition at line 74 of file TFragment.h.

References TFragment::fFragmentId.

◆ GetKValue()

◆ GetModuleType()

UShort_t TFragment::GetModuleType ( ) const
inlineinherited

Definition at line 70 of file TFragment.h.

References TFragment::fModuleType.

◆ GetName()

const char * TDetectorHit::GetName ( ) const
overrideinherited

◆ GetNetworkPacketNumber()

Int_t TFragment::GetNetworkPacketNumber ( ) const
inlineinherited

Definition at line 76 of file TFragment.h.

References TFragment::fNetworkPacketNumber.

◆ GetNumberOfFilters()

UShort_t TFragment::GetNumberOfFilters ( ) const
inlineinherited

Definition at line 77 of file TFragment.h.

References TFragment::fNumberOfWords.

◆ GetNumberOfPileups()

Short_t TFragment::GetNumberOfPileups ( ) const
inlineinherited

◆ GetNumberOfWords()

UShort_t TFragment::GetNumberOfWords ( ) const
inlineinherited

Definition at line 79 of file TFragment.h.

References TFragment::fNumberOfWords.

◆ GetPosition() [1/2]

◆ GetPosition() [2/2]

virtual TVector3 TDetectorHit::GetPosition ( Double_t ) const
inlinevirtualinherited

◆ GetPPG()

TPPG * TFragment::GetPPG ( )
inherited

Definition at line 90 of file TFragment.cxx.

References TFragment::fPPG.

◆ GetPPGStatus()

◆ GetSegment()

◆ GetSharcMesyBoard()

Int_t TFragment::GetSharcMesyBoard ( ) const
inherited

Definition at line 180 of file TFragment.cxx.

References TDetectorHit::GetAddress().

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

◆ GetTimeInCycle()

ULong64_t TFragment::GetTimeInCycle ( )
inherited

◆ 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

◆ GetTriggerBitPattern()

Int_t TFragment::GetTriggerBitPattern ( ) const
inlineinherited

Definition at line 80 of file TFragment.h.

References TFragment::fTriggerBitPattern.

◆ GetTriggerId()

Long_t TFragment::GetTriggerId ( size_t iter = 0) const
inlineinherited

Definition at line 81 of file TFragment.h.

References TFragment::fTriggerId.

◆ GetTZero()

double TFragment::GetTZero ( ) const
inherited

◆ GetWaveform()

◆ GetZc()

Int_t TFragment::GetZc ( ) const
inlineinherited

Definition at line 88 of file TFragment.h.

References TFragment::fZc.

Referenced by TDescantHit::TDescantHit().

◆ Good()

bool THILFragment::Good ( bool verbose = false) const

This function checks whether this event is good, i.e. the length of all germanium and all silicon vectors matches and there is at least one silicon and one germanium hit.

Definition at line 50 of file THILFragment.cxx.

References fGermaniumEnergy, fGermaniumId, fGermaniumTime, fSiliconEnergy, and fSiliconId.

◆ HasWave()

◆ IsChannelSet()

Bool_t TDetectorHit::IsChannelSet ( ) const
inlineprotectedinherited

◆ IsDetector()

bool TFragment::IsDetector ( const char * prefix,
Option_t * opt = "CA" ) const
inherited

Definition at line 131 of file TFragment.cxx.

References TDetectorHit::GetName().

◆ IsEnergySet()

Bool_t TDetectorHit::IsEnergySet ( ) const
inlineprotectedinherited

◆ IsPPGSet()

Bool_t TDetectorHit::IsPPGSet ( ) const
inlineprotectedinherited

◆ IsTimeSet()

Bool_t TDetectorHit::IsTimeSet ( ) const
inlineprotectedinherited

◆ MicrosecondTime() [1/2]

uint16_t THILFragment::MicrosecondTime ( ) const
inline

Definition at line 48 of file THILFragment.h.

References fUsTime.

◆ MicrosecondTime() [2/2]

void THILFragment::MicrosecondTime ( const uint16_t & usTime)
inline

Definition at line 57 of file THILFragment.h.

References fUsTime.

◆ operator<() [1/2]

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

Definition at line 88 of file TDetectorHit.h.

References TDetectorHit::GetEnergy().

◆ operator<() [2/2]

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

Definition at line 108 of file TFragment.h.

References TDetectorHit::GetTimeStamp().

◆ operator=()

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

◆ operator>()

bool TFragment::operator> ( const TFragment & rhs) const
inlineinherited

Definition at line 109 of file TFragment.h.

References TDetectorHit::GetTimeStamp().

◆ Print() [1/2]

void TFragment::Print ( Option_t * opt = "") const
overrideinherited

Prints out all fields of the TFragment

Definition at line 98 of file TFragment.cxx.

References TFragment::Print().

Referenced by TBadFragment::Print(), and TFragment::Print().

◆ Print() [2/2]

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

Reimplemented from TFragment.

Definition at line 71 of file THILFragment.cxx.

References fEventNumber, fEventTime, fGermaniumEnergy, fGermaniumId, fGermaniumTime, fSiliconEnergy, fSiliconId, and fUsTime.

◆ SetAcceptedChannelId()

void TFragment::SetAcceptedChannelId ( UShort_t value)
inlineinherited

Definition at line 41 of file TFragment.h.

References TFragment::fAcceptedChannelId.

◆ SetAddress()

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

◆ SetCcLong()

void TFragment::SetCcLong ( Int_t value)
inlineinherited

Definition at line 42 of file TFragment.h.

References TFragment::fCcLong.

◆ SetCcShort()

void TFragment::SetCcShort ( Int_t value)
inlineinherited

Definition at line 43 of file TFragment.h.

References TFragment::fCcShort.

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

◆ SetChannelId()

void TFragment::SetChannelId ( UInt_t value)
inlineinherited

Definition at line 44 of file TFragment.h.

References TFragment::fChannelId.

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

◆ SetDaqId()

void TFragment::SetDaqId ( Int_t value)
inlineinherited

Definition at line 49 of file TFragment.h.

References TFragment::fDaqId.

◆ SetDaqTimeStamp()

void TFragment::SetDaqTimeStamp ( time_t value)
inlineinherited

Definition at line 51 of file TFragment.h.

References TFragment::fDaqTimeStamp.

◆ SetDeadTime()

void TFragment::SetDeadTime ( UShort_t value)
inlineinherited

Definition at line 46 of file TFragment.h.

References TFragment::fDeadTime.

◆ SetDetectorType()

void TFragment::SetDetectorType ( UShort_t value)
inlineinherited

Definition at line 47 of file TFragment.h.

References TFragment::fDetectorType.

◆ SetEnergy()

◆ SetEntryNumber()

void TFragment::SetEntryNumber ( )
inlineinherited

Definition at line 48 of file TFragment.h.

References TFragment::fEntryNumber, and TFragment::fNumberOfFragments.

◆ SetFragmentId()

void TFragment::SetFragmentId ( Int_t value)
inlineinherited

Definition at line 50 of file TFragment.h.

References TFragment::fFragmentId.

◆ SetHitBit()

◆ SetKValue()

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

◆ SetModuleType()

void TFragment::SetModuleType ( UShort_t value)
inlineinherited

Definition at line 45 of file TFragment.h.

References TFragment::fModuleType.

◆ SetNetworkPacketNumber()

void TFragment::SetNetworkPacketNumber ( Int_t value)
inlineinherited

Definition at line 52 of file TFragment.h.

References TFragment::fNetworkPacketNumber.

◆ SetNumberOfFilters()

void TFragment::SetNumberOfFilters ( UShort_t )
inlineinherited

Definition at line 53 of file TFragment.h.

◆ SetNumberOfPileups()

void TFragment::SetNumberOfPileups ( Short_t value)
inlineinherited

Definition at line 57 of file TFragment.h.

References TFragment::fNumberOfPileups.

◆ SetNumberOfWords()

void TFragment::SetNumberOfWords ( UShort_t value)
inlineinherited

Definition at line 58 of file TFragment.h.

References TFragment::fNumberOfWords.

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

◆ SetTriggerBitPattern()

void TFragment::SetTriggerBitPattern ( Int_t value)
inlineinherited

Definition at line 59 of file TFragment.h.

References TFragment::fTriggerBitPattern.

◆ SetTriggerId()

void TFragment::SetTriggerId ( Long_t value)
inlineinherited

Definition at line 60 of file TFragment.h.

References TFragment::fTriggerId.

◆ SetWaveform()

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

◆ SetZc()

void TFragment::SetZc ( Int_t value)
inlineinherited

Definition at line 61 of file TFragment.h.

References TFragment::fZc.

◆ SiliconEnergy() [1/3]

std::vector< uint16_t > THILFragment::SiliconEnergy ( ) const
inline

Definition at line 40 of file THILFragment.h.

References fSiliconEnergy.

◆ SiliconEnergy() [2/3]

void THILFragment::SiliconEnergy ( const std::vector< uint16_t > & siEnergy)
inline

Definition at line 54 of file THILFragment.h.

References fSiliconEnergy.

◆ SiliconEnergy() [3/3]

uint16_t THILFragment::SiliconEnergy ( size_t index) const
inline

Definition at line 45 of file THILFragment.h.

References fSiliconEnergy.

◆ SiliconId() [1/3]

std::vector< uint8_t > THILFragment::SiliconId ( ) const
inline

Definition at line 39 of file THILFragment.h.

References fSiliconId.

◆ SiliconId() [2/3]

void THILFragment::SiliconId ( const std::vector< uint8_t > & siId)
inline

Definition at line 53 of file THILFragment.h.

References fSiliconId.

◆ SiliconId() [3/3]

uint8_t THILFragment::SiliconId ( size_t index) const
inline

Definition at line 44 of file THILFragment.h.

References fSiliconId.

◆ SiliconMultiplicity()

size_t THILFragment::SiliconMultiplicity ( ) const
inline

Definition at line 34 of file THILFragment.h.

References fSiliconId.

◆ TestHitBit()

bool TDetectorHit::TestHitBit ( EBitFlag flag) const
inlineinherited

◆ WaveSize()

Member Data Documentation

◆ fAcceptedChannelId

UInt_t TFragment::fAcceptedChannelId
privateinherited

Accepted threshold crossing counter for a channel.

Definition at line 121 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetAcceptedChannelId(), and TFragment::SetAcceptedChannelId().

◆ fAddress

◆ fBeamDirection

TVector3 TDetectorHit::fBeamDirection
staticprivateinherited

Definition at line 213 of file TDetectorHit.h.

Referenced by TDetectorHit::GetBeamDirection().

◆ fBitFlags

◆ fCcLong

Int_t TFragment::fCcLong
privateinherited

! Long integration over waveform tail from 4G (saved in separate branch)

Definition at line 138 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetCcLong(), and TFragment::SetCcLong().

◆ fCcShort

Int_t TFragment::fCcShort
privateinherited

! Short integration over waveform peak from 4G (saved in separate branch)

Definition at line 137 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetCcShort(), and TFragment::SetCcShort().

◆ fCfd

Float_t TDetectorHit::fCfd {0}
privateinherited

◆ fChannel

TChannel* TDetectorHit::fChannel {nullptr}
mutableprivateinherited

◆ fChannelId

UInt_t TFragment::fChannelId
privateinherited

Threshold crossing counter for a channel.

Definition at line 120 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetChannelId(), and TFragment::SetChannelId().

◆ fCharge

Float_t TDetectorHit::fCharge {0.}
privateinherited

◆ fCycleTimeStamp

Long64_t TDetectorHit::fCycleTimeStamp {0}
mutableprivateinherited

◆ fDaqId

Int_t TFragment::fDaqId
privateinherited

Daq ID.

Definition at line 116 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetDaqId(), TFragment::Print(), and TFragment::SetDaqId().

◆ fDaqTimeStamp

time_t TFragment::fDaqTimeStamp
privateinherited

Timestamp of the Daq event.

Definition at line 115 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetDaqTimeStamp(), TFragment::Print(), and TFragment::SetDaqTimeStamp().

◆ fDeadTime

UShort_t TFragment::fDeadTime
privateinherited

Added to combine Grif Fragment ////.

Deadtime from trigger

Definition at line 125 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetDeadTime(), and TFragment::SetDeadTime().

◆ fDetectorType

UShort_t TFragment::fDetectorType
privateinherited

Detector Type (PACES,HPGe, etc.)

Definition at line 127 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetDetectorType(), and TFragment::SetDetectorType().

◆ fEnergy

Double_t TDetectorHit::fEnergy {0.}
mutableprivateinherited

◆ fEntryNumber

Long64_t TFragment::fEntryNumber
privateinherited

! Entry number in fragment tree

Definition at line 135 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetEntryNumber(), and TFragment::SetEntryNumber().

◆ fEventNumber

uint32_t THILFragment::fEventNumber {0}
private

Definition at line 70 of file THILFragment.h.

Referenced by THILFragment(), Clear(), EventNumber(), EventNumber(), and Print().

◆ fEventTime

uint64_t THILFragment::fEventTime {0}
private

Definition at line 71 of file THILFragment.h.

Referenced by THILFragment(), Clear(), EventTime(), EventTime(), and Print().

◆ fFragmentId

Int_t TFragment::fFragmentId
privateinherited

Channel Trigger ID ??? not needed anymore ???

Definition at line 117 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetFragmentId(), TFragment::Print(), and TFragment::SetFragmentId().

◆ fGermaniumEnergy

std::vector<uint16_t> THILFragment::fGermaniumEnergy
private

◆ fGermaniumId

std::vector<uint8_t> THILFragment::fGermaniumId
private

◆ fGermaniumTime

std::vector<uint16_t> THILFragment::fGermaniumTime
private

◆ fKValue

◆ fModuleType

UShort_t TFragment::fModuleType
privateinherited

Data Type (GRIF-16, 4G, etc.)

Definition at line 126 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetModuleType(), and TFragment::SetModuleType().

◆ fNetworkPacketNumber

Int_t TFragment::fNetworkPacketNumber
privateinherited

Network packet number.

Definition at line 119 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetNetworkPacketNumber(), TFragment::Print(), and TFragment::SetNetworkPacketNumber().

◆ fNumberOfFragments

Long64_t TFragment::fNumberOfFragments = 0
staticprivateinherited

Definition at line 141 of file TFragment.h.

Referenced by TFragment::SetEntryNumber().

◆ fNumberOfPileups

Short_t TFragment::fNumberOfPileups
privateinherited

Number of piled up hits 1-3.

Definition at line 128 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetNumberOfPileups(), and TFragment::SetNumberOfPileups().

◆ fNumberOfWords

UShort_t TFragment::fNumberOfWords
privateinherited

! Number of non-waveform words in fragment, only used for check while parsing the fragment

Definition at line 139 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetNumberOfFilters(), TFragment::GetNumberOfWords(), and TFragment::SetNumberOfWords().

◆ fPPG

TPPG* TFragment::fPPG
privateinherited

! Programmable pattern generator value

Definition at line 133 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetCycleNumber(), TFragment::GetPPG(), and TFragment::GetTimeInCycle().

◆ fPPGStatus

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

◆ fSiliconEnergy

std::vector<uint16_t> THILFragment::fSiliconEnergy
private

◆ fSiliconId

std::vector<uint8_t> THILFragment::fSiliconId
private

◆ 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

◆ fTriggerBitPattern

Int_t TFragment::fTriggerBitPattern
privateinherited

PrimaryFilterPattern in Griffin DAQ.

Definition at line 118 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetTriggerBitPattern(), TFragment::Print(), and TFragment::SetTriggerBitPattern().

◆ fTriggerId

std::vector<Long_t> TFragment::fTriggerId
privateinherited

PrimaryFilterID in Griffin DAQ.

Definition at line 130 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetTriggerId(), TFragment::Print(), and TFragment::SetTriggerId().

◆ fUsTime

uint16_t THILFragment::fUsTime {0}
private

Definition at line 72 of file THILFragment.h.

Referenced by THILFragment(), Clear(), MicrosecondTime(), MicrosecondTime(), and Print().

◆ fWaveform

◆ fZc

Int_t TFragment::fZc
privateinherited

! Zero-crossing value from 4G (saved in separate branch)

Definition at line 136 of file TFragment.h.

Referenced by TFragment::Clear(), TFragment::GetZc(), TFragment::Print(), and TFragment::SetZc().