Definition at line 19 of file TDescantHit.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 | |
TDescantHit () | |
TDescantHit (const TDescantHit &) | |
TDescantHit (const TFragment &frag) | |
~TDescantHit () 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 interpolation_steps) |
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, unsigned int delay, unsigned int halfSmoothingWindow) |
std::vector< Int_t > | CalculatePartialSum () |
Int_t | CalculatePsd (double fraction, unsigned int interpolationSteps) |
Int_t | CalculatePsdAndPartialSums (double fraction, unsigned int interpolationSteps, std::vector< Int_t > &partialSums) |
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 |
Int_t | GetCcLong () |
Int_t | GetCcShort () |
Float_t | GetCfd () const override |
std::vector< short > & | GetCfdMonitor () |
TChannel * | GetChannel () 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 () |
virtual Short_t | GetKValue () const |
const char * | GetName () const override |
std::vector< int > & | GetPartialSum () |
TVector3 | GetPosition (Double_t dist) const override |
TVector3 | GetPosition () const override |
EPpgPattern | GetPPGStatus () const |
Int_t | GetPsd () |
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 |
Int_t | GetZc () |
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) |
void | SetCcLong (const int &x) |
void | SetCcShort (const int &x) |
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) |
void | SetPsd (const int &x) |
Double_t | SetTime (const Double_t &time) const |
virtual void | SetTimeStamp (const Long64_t &x) |
void | SetWaveform (const std::vector< Short_t > &x) |
void | SetZc (const int &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 TPPG * | fPPG = nullptr |
Private Member Functions | |
Double_t | GetDefaultDistance () const |
Private Attributes | |
Int_t | fCcLong |
Int_t | fCcShort |
std::vector< short > | fCfdMonitor |
Int_t | fFilter |
std::vector< int > | fPartialSum |
Int_t | fPsd |
Int_t | fZc |
#include <TDescantHit.h>
|
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.
|
stronginherited |
Enumerator | |
---|---|
kNoneSet | |
kCFD | |
kWalk | |
kOffset | |
kAll |
Definition at line 79 of file TDetectorHit.h.
TDescantHit::TDescantHit | ( | ) |
Definition at line 17 of file TDescantHit.cxx.
|
overridedefault |
TDescantHit::TDescantHit | ( | const TDescantHit & | rhs | ) |
Definition at line 25 of file TDescantHit.cxx.
TDescantHit::TDescantHit | ( | const TFragment & | frag | ) |
Definition at line 31 of file TDescantHit.cxx.
References AnalyzeWaveform(), TDetectorHit::CopyWave(), TGRSIOptions::ExtractWaves(), TGRSIOptions::Get(), TFragment::GetCcLong(), TFragment::GetCcShort(), TDetectorHit::GetWaveform(), TFragment::GetZc(), SetCcLong(), SetCcShort(), TDetectorHit::SetWaveform(), and SetZc().
|
inlinevirtualinherited |
!
Reimplemented in TTdrTigressHit, TGriffinHit, TTdrCloverHit, TFippsHit, and TIfinHit.
Definition at line 187 of file TDetectorHit.h.
|
inlineinherited |
bool TDescantHit::AnalyzeWaveform | ( | ) |
!
Definition at line 162 of file TDescantHit.cxx.
References CalculateCfd(), CalculatePartialSum(), CalculatePsd(), fPsd, TDetectorHit::fWaveform, TDetectorHit::SetCfd(), TDetectorHit::SetCharge(), and SetPsd().
Referenced by TDescantHit().
|
inlinevirtualinherited |
Int_t TDescantHit::CalculateCfd | ( | double | attenuation, |
unsigned int | delay, | ||
int | halfsmoothingwindow, | ||
unsigned int | interpolation_steps | ||
) |
!
Definition at line 209 of file TDescantHit.cxx.
References CalculateCfdAndMonitor().
Referenced by AnalyzeWaveform().
Int_t TDescantHit::CalculateCfdAndMonitor | ( | double | attenuation, |
unsigned int | delay, | ||
int | halfSmoothingWindow, | ||
unsigned int | interpolationSteps, | ||
std::vector< Short_t > & | monitor | ||
) |
!
Definition at line 218 of file TDescantHit.cxx.
References CalculateSmoothedWaveform(), TDetectorHit::fCfd, fCfdMonitor, TDetectorHit::fWaveform, and TGRSIOptions::Get().
Referenced by CalculateCfd().
std::vector< Short_t > TDescantHit::CalculateCfdMonitor | ( | double | attenuation, |
unsigned int | delay, | ||
unsigned int | halfSmoothingWindow | ||
) |
!
Definition at line 299 of file TDescantHit.cxx.
References CalculateSmoothedWaveform(), and TDetectorHit::fWaveform.
std::vector< Int_t > TDescantHit::CalculatePartialSum | ( | ) |
!
Definition at line 322 of file TDescantHit.cxx.
References TGRSIOptions::Debug(), fPartialSum, TDetectorHit::fWaveform, and TGRSIOptions::Get().
Referenced by AnalyzeWaveform(), and CalculatePsdAndPartialSums().
Int_t TDescantHit::CalculatePsd | ( | double | fraction, |
unsigned int | interpolationSteps | ||
) |
!
Definition at line 344 of file TDescantHit.cxx.
References CalculatePsdAndPartialSums().
Referenced by AnalyzeWaveform().
Int_t TDescantHit::CalculatePsdAndPartialSums | ( | double | fraction, |
unsigned int | interpolationSteps, | ||
std::vector< Int_t > & | partialSums | ||
) |
!
Definition at line 351 of file TDescantHit.cxx.
References CalculatePartialSum(), fPsd, and TDetectorHit::fWaveform.
Referenced by CalculatePsd().
std::vector< Short_t > TDescantHit::CalculateSmoothedWaveform | ( | unsigned int | halfSmoothingWindow | ) |
!
Definition at line 280 of file TDescantHit.cxx.
References TDetectorHit::fWaveform.
Referenced by CalculateCfdAndMonitor(), and CalculateCfdMonitor().
|
inlinevirtualinherited |
!
Definition at line 149 of file TDetectorHit.h.
References TDetectorHit::fCharge.
Referenced by TDetectorHit::GetCharge(), TDetectorHit::GetEnergy(), TIfinHit::GetNoCTEnergy(), TFippsHit::GetNoCTEnergy(), TGriffinHit::GetNoCTEnergy(), main(), TDetectorHit::Print(), TFippsTACHit::TempCorrectedCharge(), and TTACHit::TempCorrectedCharge().
|
override |
!
Definition at line 136 of file TDescantHit.cxx.
References TDetectorHit::Clear(), fCcLong, fCcShort, fCfdMonitor, fFilter, fPartialSum, fPsd, and fZc.
Referenced by TDescantHit().
|
inlineinherited |
Definition at line 179 of file TDetectorHit.h.
References TDetectorHit::fChannel, TDetectorHit::kIsChannelSet, and TDetectorHit::SetHitBit().
|
inlineinherited |
Definition at line 174 of file TDetectorHit.h.
References TDetectorHit::fEnergy, TDetectorHit::kIsEnergySet, and TDetectorHit::SetHitBit().
|
inlinevirtualinherited |
Definition at line 100 of file TDetectorHit.h.
References TDetectorHit::fBitFlags.
Referenced by TSiLiHit::Clear(), TAnalysisWriteLoopClient::Iteration(), TDetectorHit::TDetectorHit(), and TFragWriteLoop::WriteEvent().
|
staticinherited |
Definition at line 219 of file TDetectorHit.cxx.
References TDetectorHit::GetEnergy().
|
override |
!
Definition at line 79 of file TDescantHit.cxx.
References TDetectorHit::Copy(), TDetectorHit::CopyWave(), fCcLong, fCcShort, fCfdMonitor, fFilter, fPartialSum, fPsd, fZc, and TGRSIOptions::Get().
Referenced by Copy(), and TDescantHit().
|
overridevirtual |
!
Reimplemented from TDetectorHit.
Definition at line 97 of file TDescantHit.cxx.
References Copy(), and TDetectorHit::CopyWave().
|
virtualinherited |
!
Definition at line 134 of file TDetectorHit.cxx.
References TDetectorHit::fWaveform.
Referenced by TEagleHit::Copy(), TPinDiodeHit::Copy(), TTdrPlasticHit::Copy(), TSceptarHit::Copy(), TZeroDegreeHit::Copy(), TTdrCloverHit::Copy(), TGriffinHit::Copy(), Copy(), TTdrTigressHit::Copy(), TTipHit::Copy(), TDetectorHit::Copy(), TDescantHit(), TDetectorHit::TDetectorHit(), TSceptarHit::TSceptarHit(), TTdrPlasticHit::TTdrPlasticHit(), and TZeroDegreeHit::TZeroDegreeHit().
|
inlinevirtualinherited |
!
Definition at line 147 of file TDetectorHit.h.
References TDetectorHit::fAddress.
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), BetaGamma(), TSharcHit::GetBackAddress(), TSharcHit::GetFrontAddress(), TFippsHit::GetNoCTEnergy(), TIfinHit::GetNoCTEnergy(), TGriffinHit::GetNoCTEnergy(), TSharcHit::GetPadAddress(), main(), TPinDiodeHit::Print(), TEagleHit::Print(), TFragment::Print(), TTipHit::SetUpNumbering(), and TTigressHit::SumHit().
|
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().
|
inlinestaticinherited |
Definition at line 185 of file TDetectorHit.h.
References TDetectorHit::fBeamDirection.
Referenced by TTigressHit::GetDoppler(), and TSiLiHit::GetDoppler().
|
inline |
|
inline |
|
overridevirtual |
!
special function for TDescantHit 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 123 of file TDescantHit.cxx.
References TDetectorHit::fCfd.
|
inline |
Definition at line 52 of file TDescantHit.h.
References fCfdMonitor.
|
inlineinherited |
!
Definition at line 152 of file TDetectorHit.h.
References TDetectorHit::fAddress, TDetectorHit::fChannel, TChannel::GetChannel(), TDetectorHit::IsChannelSet(), TDetectorHit::kIsChannelSet, and TDetectorHit::SetHitBit().
Referenced by TTigress::AddFragment(), TFipps::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), TS3Hit::GetArrayPosition(), TDetectorHit::GetCharge(), TDetectorHit::GetCrystal(), TS3Hit::GetDefaultDistance(), TS3Hit::GetDefaultPhiOffset(), TDetectorHit::GetDetector(), TS3Hit::GetDistanceStr(), TSiLiHit::GetEnergy(), TDetectorHit::GetEnergy(), TDetectorHit::GetEnergyNonlinearity(), TSiLiHit::GetFitEnergy(), TDetectorHit::GetName(), TIfinHit::GetNoCTEnergy(), TFippsHit::GetNoCTEnergy(), TGriffinHit::GetNoCTEnergy(), TDetectorHit::GetSegment(), TFippsTACHit::GetTempCorrectedEnergy(), TTACHit::GetTempCorrectedEnergy(), TDetectorHit::GetTime(), TSiLiHit::GetTimeFit(), TDetectorHit::GetTimeStampNs(), TDetectorHit::GetTimeStampUnit(), TFragment::GetTZero(), TFragment::Print(), TS3Hit::SectorsDownstream(), TTipHit::SetUpNumbering(), TSiLiHit::SetWavefit(), and TS3Hit::TS3Hit().
|
virtualinherited |
!
Definition at line 69 of file TDetectorHit.cxx.
References TDetectorHit::Charge(), TDetectorHit::fKValue, TDetectorHit::GetChannel(), TChannel::GetIntegration(), and TChannel::UseCalFileIntegration().
Referenced by ExampleFragmentSelector::FillHistograms(), TSharcHit::GetBackCharge(), TSharcHit::GetFrontCharge(), TSharcHit::GetPadCharge(), TFippsTACHit::GetTempCorrectedCharge(), TTACHit::GetTempCorrectedCharge(), main(), MakeGRIFFINChargeHsts(), TCSM::MakeHit(), TFragment::Print(), TTigressHit::Print(), and TSiLiHit::TSiLiHit().
|
virtualinherited |
!
Definition at line 210 of file TDetectorHit.cxx.
References TDetectorHit::GetChannel(), and TChannel::GetCrystalNumber().
Referenced by TTigress::AddFragment(), TTigressHit::Compare(), TFipps::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), CrossTalk::FillHistograms(), TGriffinBgoHit::GetArrayNumber(), TLaBrBgoHit::GetArrayNumber(), TFippsHit::GetArrayNumber(), TIfinBgoHit::GetArrayNumber(), TBgoHit::GetArrayNumber(), TFippsBgoHit::GetArrayNumber(), TIfinHit::GetArrayNumber(), TTdrCloverHit::GetArrayNumber(), TGriffinHit::GetArrayNumber(), TTigressHit::GetArrayNumber(), TTdrTigressHit::GetArrayNumber(), TTigressHit::GetLastPosition(), TFippsHit::GetPosition(), TIfinHit::GetPosition(), TTigress::GetPosition(), TGriffinHit::GetPosition(), TTdrCloverHit::GetPosition(), TTdrTigressHit::GetPosition(), TFippsHit::Print(), TIfinHit::Print(), TGriffinHit::Print(), TTdrCloverHit::Print(), and TTdrTigressHit::Print().
|
inherited |
Definition at line 258 of file TDetectorHit.cxx.
References TDetectorHit::fCycleTimeStamp, TDetectorHit::fPPGStatus, TSingleton< TPPG >::Get(), TPPG::GetLastStatusTime(), TPPG::GetStatus(), TDetectorHit::GetTimeStampNs(), TDetectorHit::IsPPGSet(), TDetectorHit::kIsPPGSet, and TDetectorHit::SetHitBit().
|
inlineprivate |
Definition at line 85 of file TDescantHit.h.
Referenced by GetPosition().
|
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(), TGriffinBgoHit::GetArrayNumber(), TBgoHit::GetArrayNumber(), TFippsBgoHit::GetArrayNumber(), TIfinBgoHit::GetArrayNumber(), TFippsHit::GetArrayNumber(), TIfinHit::GetArrayNumber(), TLaBrBgoHit::GetArrayNumber(), TFippsLaBrBgoHit::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(), GetPosition(), TGriffinHit::GetPosition(), TTdrCloverHit::GetPosition(), TTdrTigressHit::GetPosition(), TSharcHit::GetPosition(), TTrific::GetXYGrid(), main(), MakeAnalysisHistograms(), TFippsLaBrHit::Print(), TFippsHit::Print(), TIfinHit::Print(), TPinDiodeHit::Print(), TFippsTACHit::Print(), TEagleHit::Print(), TTdrSiLiHit::Print(), TTrificHit::Print(), TPacesHit::Print(), TLaBrHit::Print(), TTdrPlasticHit::Print(), TSharcHit::Print(), TTACHit::Print(), TSceptarHit::Print(), TZeroDegreeHit::Print(), TGriffinHit::Print(), TTdrCloverHit::Print(), TTdrTigressHit::Print(), Print(), TTipHit::Print(), and PromptCoincidence().
|
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(), TEagleHit::Print(), TFippsTACHit::Print(), TPinDiodeHit::Print(), TPacesHit::Print(), TTdrSiLiHit::Print(), TTrificHit::Print(), TLaBrHit::Print(), TTdrPlasticHit::Print(), TTACHit::Print(), TSceptarHit::Print(), TZeroDegreeHit::Print(), TTdrCloverHit::Print(), TGriffinHit::Print(), TTdrTigressHit::Print(), Print(), TTipHit::Print(), TTigressHit::Print(), PromptCoincidence(), and TTigressHit::SumHit().
|
virtualinherited |
Definition at line 107 of file TDetectorHit.cxx.
References TDetectorHit::GetChannel(), and TChannel::GetEnergyNonlinearity().
Referenced by TDetectorHit::GetEnergy().
|
inline |
|
inlinevirtualinherited |
!
Definition at line 150 of file TDetectorHit.h.
References TDetectorHit::fKValue.
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), GriffinKValueSelector::FillHistograms(), CrossTalk::FillHistograms(), TIfinHit::GetNoCTEnergy(), TFippsHit::GetNoCTEnergy(), TGriffinHit::GetNoCTEnergy(), and MakeGRIFFINChargeHsts().
|
overrideinherited |
!
Definition at line 166 of file TDetectorHit.cxx.
References TDetectorHit::GetChannel().
Referenced by TFragment::IsDetector(), TDetectorHit::Print(), TTigressHit::Print(), and TTigressHit::SetWavefit().
|
inline |
Definition at line 53 of file TDescantHit.h.
References fPartialSum.
|
overridevirtual |
!
Reimplemented from TDetectorHit.
Definition at line 105 of file TDescantHit.cxx.
References TDetectorHit::GetDetector(), and TDescant::GetPosition().
|
overridevirtual |
!
Reimplemented from TDetectorHit.
Definition at line 111 of file TDescantHit.cxx.
References GetDefaultDistance(), TDetectorHit::GetDetector(), and TDescant::GetPosition().
|
inherited |
Definition at line 242 of file TDetectorHit.cxx.
References TDetectorHit::fCycleTimeStamp, TDetectorHit::fPPGStatus, TSingleton< TPPG >::Get(), TPPG::GetLastStatusTime(), TPPG::GetStatus(), TDetectorHit::GetTimeStampNs(), TDetectorHit::IsPPGSet(), TDetectorHit::kIsPPGSet, kJunk, and TDetectorHit::SetHitBit().
|
inline |
Int_t TDescantHit::GetRemainder | ( | ) | const |
returns the remainder between 100 MHz/10ns timestamp and 125 MHz/8 ns data in ns
Definition at line 130 of file TDescantHit.cxx.
References TDetectorHit::fCfd.
|
virtualinherited |
!
Definition at line 201 of file TDetectorHit.cxx.
References TDetectorHit::GetChannel(), and TChannel::GetSegmentNumber().
Referenced by DefaultAddback(), TBgoHit::GetArrayNumber(), TFippsBgoHit::GetArrayNumber(), TGriffinBgoHit::GetArrayNumber(), TIfinBgoHit::GetArrayNumber(), TFippsLaBrBgoHit::GetArrayNumber(), TSharcHit::GetBackStrip(), TSharcHit::GetFrontStrip(), TTigressHit::GetLastPosition(), TSiLiHit::GetPin(), TSharcHit::GetPosition(), TSiLiHit::GetPreamp(), TSiLiHit::GetRing(), TSiLiHit::GetSector(), TSiLiHit::MagnetShadow(), TTrificHit::Print(), TS3Hit::SetRingNumber(), TS3Hit::SetSectorNumber(), and TSiLiHit::SumHit().
|
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(), TPacesHit::Print(), TTdrSiLiHit::Print(), TTrificHit::Print(), TLaBrHit::Print(), TTdrPlasticHit::Print(), TTACHit::Print(), TSceptarHit::Print(), TZeroDegreeHit::Print(), TGriffinHit::Print(), TTdrCloverHit::Print(), TTdrTigressHit::Print(), Print(), TTipHit::Print(), TDetectorHit::Print(), TTigressHit::Print(), PromptCoincidence(), TTigressHit::SumHit(), TFippsTACHit::TempCorrectedCharge(), and TTACHit::TempCorrectedCharge().
|
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.
|
inlinevirtualinherited |
Definition at line 142 of file TDetectorHit.h.
References TDetectorHit::fTimeStamp.
Referenced by CheckHighTimeStamp(), TimeWalkSelector::FillHistograms(), GetRoughTimeDiff(), TDetectorHit::GetTime(), GetTimeDiff(), TSiLiHit::GetTimeFitCfd(), TSiLiHit::GetTimeFitns(), TSiLiHit::GetTimeStampLow(), main(), MakeAnalysisHistograms(), TFragment::operator<(), TFragment::operator>(), TEagleHit::Print(), TDetectorHit::Print(), TFragment::Print(), and TTigressHit::Print().
|
virtualinherited |
Definition at line 224 of file TDetectorHit.cxx.
References TDetectorHit::fTimeStamp, TDetectorHit::GetChannel(), TChannel::GetTimeOffset(), and TDetectorHit::GetTimeStampUnit().
Referenced by TFragment::GetCycleNumber(), TDetectorHit::GetCycleTimeStamp(), TDetectorHit::GetPPGStatus(), TFragment::GetTimeInCycle(), TDetectorHit::GetTimeSinceTapeMove(), TGriffinHit::Print(), and TDetectorHit::Print().
|
virtualinherited |
!
Definition at line 233 of file TDetectorHit.cxx.
References TDetectorHit::GetChannel(), and TChannel::GetTimeStampUnit().
Referenced by TDetectorHit::GetTimeStampNs(), and TDetectorHit::Print().
|
inlineinherited |
!
Definition at line 151 of file TDetectorHit.h.
References TDetectorHit::fWaveform.
Referenced by TPulseAnalyzer::SetData(), TTigressHit::SetWavefit(), TDescantHit(), TSceptarHit::TSceptarHit(), TTdrPlasticHit::TTdrPlasticHit(), and TZeroDegreeHit::TZeroDegreeHit().
|
inline |
|
inlinevirtualinherited |
!
Definition at line 107 of file TDetectorHit.h.
References TDetectorHit::fWaveform.
Referenced by TFragment::Print(), and TPulseAnalyzer::SetData().
bool TDescantHit::InFilter | ( | Int_t | ) |
!
check if the desired filter is in wanted filter; return the answer;
Definition at line 116 of file TDescantHit.cxx.
|
inlineprotectedinherited |
Definition at line 194 of file TDetectorHit.h.
References TDetectorHit::fBitFlags, TDetectorHit::kIsChannelSet, and TTransientBits< T >::TestBit().
Referenced by TDetectorHit::GetChannel().
|
inlineprotectedinherited |
Definition at line 193 of file TDetectorHit.h.
References TDetectorHit::fBitFlags, TDetectorHit::kIsEnergySet, and TTransientBits< T >::TestBit().
|
inlineprotectedinherited |
Definition at line 196 of file TDetectorHit.h.
References TDetectorHit::fBitFlags, TDetectorHit::kIsPPGSet, and TTransientBits< T >::TestBit().
Referenced by TDetectorHit::GetCycleTimeStamp(), and TDetectorHit::GetPPGStatus().
|
inlineprotectedinherited |
Definition at line 195 of file TDetectorHit.h.
References TDetectorHit::fBitFlags, TDetectorHit::kIsTimeSet, and TTransientBits< T >::TestBit().
Referenced by TDetectorHit::GetTime().
|
inlineinherited |
Definition at line 93 of file TDetectorHit.h.
References TDetectorHit::GetEnergy().
|
override |
!
Definition at line 148 of file TDescantHit.cxx.
|
overridevirtual |
!
Reimplemented from TDetectorHit.
Definition at line 153 of file TDescantHit.cxx.
References TDetectorHit::GetDetector(), TDetectorHit::GetEnergy(), and TDetectorHit::GetTime().
|
inlineinherited |
!
Definition at line 113 of file TDetectorHit.h.
References TDetectorHit::fAddress.
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), TTigress::AddFragment(), TEmma::BuildHits(), CheckHighTimeStamp(), GetRoughTimeDiff(), GetTimeDiff(), and TTigressHit::SumHit().
|
inline |
|
inline |
|
inlinevirtualinherited |
!
Definition at line 117 of file TDetectorHit.h.
References TDetectorHit::fCfd.
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), TSceptarHit::AnalyzeWaveform(), TZeroDegreeHit::AnalyzeWaveform(), AnalyzeWaveform(), and TTigressHit::SumHit().
|
inlinevirtualinherited |
! this function automatically randomizes the integer provided
Definition at line 118 of file TDetectorHit.h.
References TDetectorHit::fCfd.
|
inlinevirtualinherited |
! this function automatically randomizes the integer provided
Definition at line 119 of file TDetectorHit.h.
References TDetectorHit::fCfd.
|
inlineinherited |
!
Definition at line 115 of file TDetectorHit.h.
References TDetectorHit::fCharge.
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), TZeroDegreeHit::AnalyzeWaveform(), and AnalyzeWaveform().
|
inlineinherited |
! this function automatically randomizes the integer provided
Definition at line 116 of file TDetectorHit.h.
References TDetectorHit::fCharge.
|
inlineinherited |
Definition at line 125 of file TDetectorHit.h.
References TDetectorHit::fEnergy, TDetectorHit::kIsEnergySet, and TDetectorHit::SetHitBit().
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), TFipps::FixCrossTalk(), TGriffin::FixCrossTalk(), TSiLiHit::GetEnergy(), TDetectorHit::GetEnergy(), TSiLiHit::SumHit(), and TTigressHit::SumHit().
|
inline |
|
inherited |
Definition at line 281 of file TDetectorHit.cxx.
References TDetectorHit::fBitFlags, and TTransientBits< T >::SetBit().
Referenced by TDetectorHit::ClearChannel(), TDetectorHit::ClearEnergy(), TDetectorHit::GetChannel(), TDetectorHit::GetCycleTimeStamp(), TDetectorHit::GetPPGStatus(), TDetectorHit::SetEnergy(), TDetectorHit::SetTime(), TSiLiHit::SumHit(), and TSiLiHit::UseFitCharge().
|
inlineinherited |
!
Definition at line 114 of file TDetectorHit.h.
References TDetectorHit::fKValue.
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), and TTdrTigressHit::Add().
|
inlinestaticinherited |
Definition at line 91 of file TDetectorHit.h.
References TDetectorHit::fPPG.
|
inline |
|
inlineinherited |
Definition at line 131 of file TDetectorHit.h.
References TDetectorHit::fTime, TDetectorHit::kIsTimeSet, and TDetectorHit::SetHitBit().
Referenced by TFippsHit::Add(), TIfinHit::Add(), TTdrCloverHit::Add(), TGriffinHit::Add(), TTdrTigressHit::Add(), TDetectorHit::GetTime(), and TTigressHit::SumHit().
|
inlinevirtualinherited |
!
Definition at line 122 of file TDetectorHit.h.
References TDetectorHit::fTimeStamp.
Referenced by TEmma::BuildHits().
|
inlineinherited |
!
Definition at line 120 of file TDetectorHit.h.
References TDetectorHit::fWaveform.
Referenced by TDescantHit(), TSceptarHit::TSceptarHit(), and TTdrPlasticHit::TTdrPlasticHit().
|
inline |
|
inlineinherited |
Definition at line 200 of file TDetectorHit.h.
References TDetectorHit::fBitFlags, and TTransientBits< T >::TestBit().
Referenced by TSiLiHit::GetEnergy(), and TDetectorHit::GetEnergy().
|
protectedinherited |
address of the the channel in the DAQ.
Definition at line 203 of file TDetectorHit.h.
Referenced by TDetectorHit::Clear(), TDetectorHit::Copy(), TDetectorHit::GetAddress(), TDetectorHit::GetChannel(), TFragment::GetChannelNumber(), TFragment::GetSharcMesyBoard(), TDetectorHit::SetAddress(), TDetectorHit::TDetectorHit(), TEagleHit::TEagleHit(), and TPinDiodeHit::TPinDiodeHit().
|
staticprotectedinherited |
Definition at line 222 of file TDetectorHit.h.
Referenced by TDetectorHit::GetBeamDirection().
|
mutableprotectedinherited |
Definition at line 221 of file TDetectorHit.h.
Referenced by TTdrCloverHit::Clear(), TDetectorHit::Clear(), TDetectorHit::ClearTransients(), TTdrCloverHit::Copy(), TDetectorHit::Copy(), TDetectorHit::IsChannelSet(), TDetectorHit::IsEnergySet(), TDetectorHit::IsPPGSet(), TDetectorHit::IsTimeSet(), TTdrCloverHit::NPileUps(), TTdrCloverHit::PUHit(), TDetectorHit::SetHitBit(), TTdrCloverHit::SetTdrCloverFlag(), and TDetectorHit::TestHitBit().
|
private |
Definition at line 31 of file TDescantHit.h.
Referenced by Clear(), Copy(), GetCcLong(), and SetCcLong().
|
private |
Definition at line 30 of file TDescantHit.h.
Referenced by Clear(), Copy(), GetCcShort(), and SetCcShort().
|
protectedinherited |
CFD time of the Hit.
Definition at line 206 of file TDetectorHit.h.
Referenced by TZeroDegreeHit::CalculateCfdAndMonitor(), CalculateCfdAndMonitor(), TDetectorHit::Clear(), TDetectorHit::Copy(), TZeroDegreeHit::GetCfd(), GetCfd(), TDetectorHit::GetCfd(), TZeroDegreeHit::GetRemainder(), GetRemainder(), TTigressHit::GetTimeToTrigger(), TDetectorHit::SetCfd(), and TEagleHit::TEagleHit().
|
private |
Definition at line 32 of file TDescantHit.h.
Referenced by CalculateCfdAndMonitor(), Clear(), Copy(), and GetCfdMonitor().
|
protectedinherited |
charge collected from the hit
Definition at line 204 of file TDetectorHit.h.
Referenced by TDetectorHit::Charge(), TDetectorHit::Clear(), TDetectorHit::Copy(), TDetectorHit::SetCharge(), TEagleHit::TEagleHit(), and TPinDiodeHit::TPinDiodeHit().
|
private |
Definition at line 27 of file TDescantHit.h.
Referenced by Clear(), Copy(), GetFilterPattern(), and SetFilterPattern().
|
protectedinherited |
integration value.
Definition at line 205 of file TDetectorHit.h.
Referenced by TDetectorHit::Clear(), TDetectorHit::Copy(), TDetectorHit::GetCharge(), TDetectorHit::GetEnergy(), TDetectorHit::GetKValue(), TFippsTACHit::GetTempCorrectedEnergy(), TTACHit::GetTempCorrectedEnergy(), TDetectorHit::SetKValue(), TEagleHit::TEagleHit(), and TPinDiodeHit::TPinDiodeHit().
|
private |
Definition at line 33 of file TDescantHit.h.
Referenced by CalculatePartialSum(), Clear(), Copy(), and GetPartialSum().
|
staticprotectedinherited |
Definition at line 219 of file TDetectorHit.h.
Referenced by TGriffinHit::Clear(), TGriffinHit::Copy(), and TDetectorHit::SetPPGPtr().
|
private |
Definition at line 28 of file TDescantHit.h.
Referenced by AnalyzeWaveform(), CalculatePsdAndPartialSums(), Clear(), Copy(), GetPsd(), and SetPsd().
|
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().
|
protectedinherited |
Timestamp given to hit in ns.
Definition at line 207 of file TDetectorHit.h.
Referenced by TDetectorHit::AppendTimeStamp(), TDetectorHit::Clear(), TDetectorHit::Copy(), TDetectorHit::GetTimeStamp(), TDetectorHit::GetTimeStampNs(), TTigressHit::GetTimeToTrigger(), TGriffinHit::Print(), TDetectorHit::SetTimeStamp(), TEagleHit::TEagleHit(), and TPinDiodeHit::TPinDiodeHit().
|
protectedinherited |
Definition at line 208 of file TDetectorHit.h.
Referenced by TDetectorHit::AddWaveformSample(), TSceptarHit::AnalyzeWaveform(), TZeroDegreeHit::AnalyzeWaveform(), AnalyzeWaveform(), TSceptarHit::CalculateCfdAndMonitor(), TZeroDegreeHit::CalculateCfdAndMonitor(), CalculateCfdAndMonitor(), TSceptarHit::CalculateCfdMonitor(), TZeroDegreeHit::CalculateCfdMonitor(), CalculateCfdMonitor(), TZeroDegreeHit::CalculatePartialSum(), CalculatePartialSum(), CalculatePsdAndPartialSums(), TSceptarHit::CalculateSmoothedWaveform(), TZeroDegreeHit::CalculateSmoothedWaveform(), CalculateSmoothedWaveform(), TDetectorHit::Clear(), TDetectorHit::CopyWave(), TDetectorHit::GetWaveform(), TDetectorHit::HasWave(), and TDetectorHit::SetWaveform().