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

Detailed Description

This is the updated sharc-hit storage class, designed to better work with the GRSISort Inheritied class method. A lot has changed, but the main function stays the same. Since two physial wire hits are needed to make one sharc hit, and the "front" side will always have better resolution/timing properties, we will make the inherited charge/time derive from the front. So we do not lose the back information, the class additionally holds a TDetectorHit for the back and another for the pad if it is present.

Definition at line 35 of file TSharc2Hit.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

 TSharc2Hit ()
 
 TSharc2Hit (const TSharc2Hit &)
 
 TSharc2Hit (TSharc2Hit &&) noexcept=default
 
 ~TSharc2Hit () override=default
 
virtual void Add (const TDetectorHit *)
 
void AddWaveformSample (const Short_t &val)
 
virtual void AppendTimeStamp (const Long64_t &val)
 
virtual Float_t Charge () const
 
void Clear (Option_t *="") 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
 
TDetectorHit GetBack () const
 
Int_t GetBackAddress () const
 
Float_t GetBackCharge () const
 
UShort_t GetBackStrip () 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
 
Double_t GetDeltaBackE () const
 
Double_t GetDeltaBackT () const
 
Double_t GetDeltaE () const
 
Double_t GetDeltaFrontE () const
 
Double_t GetDeltaFrontT () const
 
Double_t GetDeltaT () const
 
virtual Int_t GetDetector () const
 
Double_t GetEnergy (Option_t *="") const override
 
virtual Double_t GetEnergyNonlinearity (double energy) const
 
Int_t GetFrontAddress () const
 
Float_t GetFrontCharge () const
 
UShort_t GetFrontStrip () const
 
virtual Short_t GetKValue () const
 
const char * GetName () const override
 
TDetectorHit GetPad () const
 
Int_t GetPadAddress () const
 
Float_t GetPadCharge () const
 
Double_t GetPadE () const
 
Double_t GetPadT () const
 
TVector3 GetPosition () const override
 
TVector3 GetPosition (Double_t dist) const override
 
EPpgPattern GetPPGStatus () const
 
virtual Int_t GetSegment () const
 
Double_t GetSomeTime () const
 
Double_t GetTheta (double Xoff=0.0, double Yoff=0.0, double Zoff=0.0) const
 
Double_t GetThetaDeg (double Xoff=0.0, double Yoff=0.0, double Zoff=0.0) 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
 
TSharc2Hitoperator= (const TSharc2Hit &)=default
 
TSharc2Hitoperator= (TSharc2Hit &&) noexcept=default
 
void Print (Option_t *="") const override
 
void Print (std::ostream &out) const override
 
void SetAddress (const UInt_t &temp_address)
 
void SetBack (const TFragment &frag)
 
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 SetFront (const TFragment &frag)
 
void SetHitBit (EBitFlag, Bool_t set=true) const
 
void SetKValue (const Short_t &temp_kval)
 
void SetPad (const TFragment &frag)
 
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 Member Functions

Double_t GetDefaultDistance () const
 

Private Attributes

UInt_t fAddress {0}
 
TDetectorHit fBackHit
 
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}
 
TDetectorHit fPadHit
 
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 TSharc2Hit:
+ Collaboration diagram for TSharc2Hit:

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

◆ TSharc2Hit() [1/3]

TSharc2Hit::TSharc2Hit ( )

Definition at line 8 of file TSharc2Hit.cxx.

References Clear().

◆ TSharc2Hit() [2/3]

TSharc2Hit::TSharc2Hit ( const TSharc2Hit & rhs)

Definition at line 13 of file TSharc2Hit.cxx.

References Clear(), and Copy().

◆ TSharc2Hit() [3/3]

TSharc2Hit::TSharc2Hit ( TSharc2Hit && )
defaultnoexcept

◆ ~TSharc2Hit()

TSharc2Hit::~TSharc2Hit ( )
overridedefault

Member Function Documentation

◆ Add()

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

!

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

Definition at line 184 of file TDetectorHit.h.

◆ AddWaveformSample()

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

!

Definition at line 117 of file TDetectorHit.h.

References TDetectorHit::fWaveform.

◆ AppendTimeStamp()

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

!

Definition at line 119 of file TDetectorHit.h.

References TDetectorHit::fTimeStamp.

◆ Charge()

◆ Clear()

void TSharc2Hit::Clear ( Option_t * options = "")
override

!

Definition at line 34 of file TSharc2Hit.cxx.

References TDetectorHit::Clear(), fBackHit, and fPadHit.

Referenced by TSharc2Hit(), and TSharc2Hit().

◆ 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 TSharc2Hit::Copy ( TObject & rhs) const
override

!

Definition at line 19 of file TSharc2Hit.cxx.

References TDetectorHit::Copy(), Copy(), fBackHit, and fPadHit.

Referenced by TSharc2Hit(), Copy(), and Copy().

◆ Copy() [2/2]

void TSharc2Hit::Copy ( TObject & rhs,
bool waveform ) const
overridevirtual

!

Reimplemented from TDetectorHit.

Definition at line 26 of file TSharc2Hit.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().

◆ GetBack()

TDetectorHit TSharc2Hit::GetBack ( ) const
inline

◆ GetBackAddress()

Int_t TSharc2Hit::GetBackAddress ( ) const
inline

!

Definition at line 77 of file TSharc2Hit.h.

References TDetectorHit::GetAddress(), and GetBack().

◆ GetBackCharge()

Float_t TSharc2Hit::GetBackCharge ( ) const
inline

! //Charge is now stored after integration.

Definition at line 87 of file TSharc2Hit.h.

References GetBack(), and TDetectorHit::GetCharge().

◆ GetBackStrip()

UShort_t TSharc2Hit::GetBackStrip ( ) const
inline

!

Definition at line 57 of file TSharc2Hit.h.

References GetBack(), and TDetectorHit::GetSegment().

Referenced by GetSomeTime(), and Print().

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

◆ GetChannel()

◆ GetChannelNumber()

int TDetectorHit::GetChannelNumber ( ) const
virtualinherited

◆ GetCharge()

◆ GetCrystal()

◆ GetCycleTimeStamp()

◆ GetDefaultDistance()

Double_t TSharc2Hit::GetDefaultDistance ( ) const
inlineprivate

Definition at line 112 of file TSharc2Hit.h.

Referenced by GetPosition().

◆ GetDeltaBackE()

Double_t TSharc2Hit::GetDeltaBackE ( ) const
inline

!

Definition at line 73 of file TSharc2Hit.h.

References GetBack(), and TDetectorHit::GetEnergy().

◆ GetDeltaBackT()

Double_t TSharc2Hit::GetDeltaBackT ( ) const
inline

!

Definition at line 74 of file TSharc2Hit.h.

References GetBack(), and TDetectorHit::GetTime().

◆ GetDeltaE()

Double_t TSharc2Hit::GetDeltaE ( ) const
inline

!

Definition at line 68 of file TSharc2Hit.h.

References TDetectorHit::GetEnergy().

◆ GetDeltaFrontE()

Double_t TSharc2Hit::GetDeltaFrontE ( ) const
inline

!

Definition at line 71 of file TSharc2Hit.h.

References TDetectorHit::GetEnergy().

◆ GetDeltaFrontT()

Double_t TSharc2Hit::GetDeltaFrontT ( ) const
inline

!

Definition at line 72 of file TSharc2Hit.h.

References TDetectorHit::GetTime().

◆ GetDeltaT()

Double_t TSharc2Hit::GetDeltaT ( ) const
inline

!

Definition at line 69 of file TSharc2Hit.h.

References TDetectorHit::GetTime().

◆ 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(), 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(), Print(), TSharcHit::Print(), TTACHit::Print(), TTdrCloverHit::Print(), TTdrPlasticHit::Print(), TTdrSiLiHit::Print(), TTdrTigressHit::Print(), TTipHit::Print(), TTrificHit::Print(), TZeroDegreeHit::Print(), and PromptCoincidence().

◆ GetEnergy()

Double_t TSharc2Hit::GetEnergy ( Option_t * = "") const
inlineoverridevirtual

Reimplemented from TDetectorHit.

Definition at line 90 of file TSharc2Hit.h.

References TDetectorHit::GetEnergy(), GetPad(), and GetPadAddress().

◆ GetEnergyNonlinearity()

Double_t TDetectorHit::GetEnergyNonlinearity ( double energy) const
virtualinherited

◆ GetFrontAddress()

Int_t TSharc2Hit::GetFrontAddress ( ) const
inline

!

Definition at line 76 of file TSharc2Hit.h.

References TDetectorHit::GetAddress().

◆ GetFrontCharge()

Float_t TSharc2Hit::GetFrontCharge ( ) const
inline

! //Charge is now stored after integration.

Definition at line 83 of file TSharc2Hit.h.

References TDetectorHit::GetCharge().

◆ GetFrontStrip()

UShort_t TSharc2Hit::GetFrontStrip ( ) const
inline

!

Definition at line 56 of file TSharc2Hit.h.

References TDetectorHit::GetSegment().

Referenced by GetSomeTime(), and Print().

◆ GetKValue()

◆ GetName()

const char * TDetectorHit::GetName ( ) const
overrideinherited

◆ GetPad()

TDetectorHit TSharc2Hit::GetPad ( ) const
inline

Definition at line 61 of file TSharc2Hit.h.

References fPadHit.

Referenced by GetEnergy(), GetPadAddress(), GetPadCharge(), GetPadE(), and GetPadT().

◆ GetPadAddress()

Int_t TSharc2Hit::GetPadAddress ( ) const
inline

!

Definition at line 78 of file TSharc2Hit.h.

References TDetectorHit::GetAddress(), and GetPad().

Referenced by GetEnergy().

◆ GetPadCharge()

Float_t TSharc2Hit::GetPadCharge ( ) const
inline

! //Charge is now stored after integration.

Definition at line 88 of file TSharc2Hit.h.

References TDetectorHit::GetCharge(), and GetPad().

◆ GetPadE()

Double_t TSharc2Hit::GetPadE ( ) const
inline

!

Definition at line 80 of file TSharc2Hit.h.

References TDetectorHit::GetEnergy(), and GetPad().

◆ GetPadT()

Double_t TSharc2Hit::GetPadT ( ) const
inline

!

Definition at line 81 of file TSharc2Hit.h.

References GetPad(), and TDetectorHit::GetTime().

◆ GetPosition() [1/2]

TVector3 TSharc2Hit::GetPosition ( ) const
overridevirtual

!

Reimplemented from TDetectorHit.

Definition at line 67 of file TSharc2Hit.cxx.

References GetDefaultDistance(), and GetPosition().

Referenced by GetPosition(), and GetTheta().

◆ GetPosition() [2/2]

TVector3 TSharc2Hit::GetPosition ( Double_t dist) const
overridevirtual

◆ GetPPGStatus()

◆ GetSegment()

◆ GetSomeTime()

Double_t TSharc2Hit::GetSomeTime ( ) const
inline

Definition at line 63 of file TSharc2Hit.h.

References GetBack(), GetBackStrip(), TDetectorHit::GetCfd(), and GetFrontStrip().

◆ GetTheta()

Double_t TSharc2Hit::GetTheta ( double Xoff = 0.0,
double Yoff = 0.0,
double Zoff = 0.0 ) const

!

!

Definition at line 72 of file TSharc2Hit.cxx.

References GetPosition().

Referenced by GetThetaDeg().

◆ GetThetaDeg()

Double_t TSharc2Hit::GetThetaDeg ( double Xoff = 0.0,
double Yoff = 0.0,
double Zoff = 0.0 ) const
inline

Definition at line 98 of file TSharc2Hit.h.

References GetTheta().

◆ 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(), GetDeltaBackT(), TSharcHit::GetDeltaBackT(), GetDeltaFrontT(), TSharcHit::GetDeltaFrontT(), GetDeltaT(), TSharcHit::GetDeltaT(), 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().

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

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

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

◆ operator=() [2/2]

TSharc2Hit & TSharc2Hit::operator= ( TSharc2Hit && )
defaultnoexcept

◆ Print() [1/2]

void TSharc2Hit::Print ( Option_t * = "") const
override

!

Definition at line 41 of file TSharc2Hit.cxx.

References Print().

Referenced by Print().

◆ Print() [2/2]

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

!

Reimplemented from TDetectorHit.

Definition at line 46 of file TSharc2Hit.cxx.

References DGREEN, GetBackStrip(), TDetectorHit::GetDetector(), GetFrontStrip(), and RESET_COLOR.

◆ SetAddress()

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

◆ SetBack()

void TSharc2Hit::SetBack ( const TFragment & frag)

!

Definition at line 84 of file TSharc2Hit.cxx.

References TDetectorHit::Copy(), and fBackHit.

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

◆ SetFront()

void TSharc2Hit::SetFront ( const TFragment & frag)

!

Definition at line 79 of file TSharc2Hit.cxx.

References TDetectorHit::Copy().

Referenced by TSharc2::BuildHits().

◆ SetHitBit()

◆ SetKValue()

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

◆ SetPad()

void TSharc2Hit::SetPad ( const TFragment & frag)

!

Definition at line 89 of file TSharc2Hit.cxx.

References TDetectorHit::Copy(), and fPadHit.

◆ 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

◆ fBackHit

TDetectorHit TSharc2Hit::fBackHit
private

Definition at line 45 of file TSharc2Hit.h.

Referenced by Clear(), Copy(), GetBack(), and SetBack().

◆ fBeamDirection

TVector3 TDetectorHit::fBeamDirection
staticprivateinherited

Definition at line 213 of file TDetectorHit.h.

Referenced by TDetectorHit::GetBeamDirection().

◆ fBitFlags

◆ fCfd

Float_t TDetectorHit::fCfd {0}
privateinherited

◆ fChannel

TChannel* TDetectorHit::fChannel {nullptr}
mutableprivateinherited

◆ fCharge

Float_t TDetectorHit::fCharge {0.}
privateinherited

◆ fCycleTimeStamp

Long64_t TDetectorHit::fCycleTimeStamp {0}
mutableprivateinherited

◆ fEnergy

Double_t TDetectorHit::fEnergy {0.}
mutableprivateinherited

◆ fKValue

◆ fPadHit

TDetectorHit TSharc2Hit::fPadHit
private

Definition at line 46 of file TSharc2Hit.h.

Referenced by Clear(), Copy(), GetPad(), and SetPad().

◆ 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