#include <ZDCTreeAnalysis.h>
|
| ZDCTreeAnalysis (std::string filename, int nSample=7, double deltaT=12.5, int preSamplIdx=1, std::string fitFunction="FermiExp") |
|
void | SetADCOverUnderflowValues (const ZDCDataAnalyzer::ZDCModuleFloatArray &HGOverFlowADC, const ZDCDataAnalyzer::ZDCModuleFloatArray &HGUnderFlowADC, const ZDCDataAnalyzer::ZDCModuleFloatArray &LGOverFlowADC) |
|
void | SetCutValues (const ZDCDataAnalyzer::ZDCModuleFloatArray &chisqDivAmpCutHG, const ZDCDataAnalyzer::ZDCModuleFloatArray &chisqDivAmpCutLG, const ZDCDataAnalyzer::ZDCModuleFloatArray &DeltaT0CutLowHG, const ZDCDataAnalyzer::ZDCModuleFloatArray &DeltaT0CutHighHG, const ZDCDataAnalyzer::ZDCModuleFloatArray &DeltaT0CutLowLG, const ZDCDataAnalyzer::ZDCModuleFloatArray &DeltaT0CutHighLG) |
|
void | SetTauT0Values (const ZDCDataAnalyzer::ZDCModuleBoolArray &fixTau1, const ZDCDataAnalyzer::ZDCModuleBoolArray &fixTau2, const ZDCDataAnalyzer::ZDCModuleFloatArray &tau1, const ZDCDataAnalyzer::ZDCModuleFloatArray &tau2, const ZDCDataAnalyzer::ZDCModuleFloatArray &t0HG, const ZDCDataAnalyzer::ZDCModuleFloatArray &t0LG) |
|
void | SetDebugLevel (int debugLevel=0) |
|
void | LoadEnergyCalibrations (const std::array< std::array< TSpline *, 4 >, 2 > &calibSplines) |
|
void | LoadT0Calibrations (const std::array< std::array< TSpline *, 4 >, 2 > &calibSplinesHG, const std::array< std::array< TSpline *, 4 >, 2 > &calibSplinesLG) |
|
void | SetLBDepT0 (int iside, int imod, TSpline *t0SplineLG, TSpline *t0SplineHG) |
|
void | SetSlewingCoeff (const std::array< std::array< std::vector< float >, 4 >, 2 > &HGParamArr, const std::array< std::array< std::vector< float >, 4 >, 2 > &LGParamArr) |
|
void | OpenOutputTree (const std::string &file) |
|
void | CloseOutputTree () |
|
void | PlotFits (const std::string &canvasSavePath="") |
|
virtual | ~ZDCTreeAnalysis () |
|
virtual Int_t | Cut (Long64_t entry) |
|
virtual Int_t | GetEntry (Long64_t entry) |
|
virtual Long64_t | LoadTree (Long64_t entry) |
|
virtual void | Init (TTree *tree) |
|
virtual void | Loop (int numEntries=-1, int startEntry=0) |
|
virtual Bool_t | Notify () |
|
virtual void | Show (Long64_t entry=-1) |
|
void | LoadEntry (int entry) |
|
void | LoadNextEntry () |
|
unsigned int | GetRunNumber () const |
|
void | DoAnalysis () |
|
Definition at line 29 of file ZDCTreeAnalysis.h.
◆ ZDCTreeAnalysis()
ZDCTreeAnalysis::ZDCTreeAnalysis |
( |
std::string |
filename, |
|
|
int |
nSample = 7 , |
|
|
double |
deltaT = 12.5 , |
|
|
int |
preSamplIdx = 1 , |
|
|
std::string |
fitFunction = "FermiExp" |
|
) |
| |
◆ ~ZDCTreeAnalysis()
virtual ZDCTreeAnalysis::~ZDCTreeAnalysis |
( |
| ) |
|
|
virtual |
◆ CloseOutputTree()
void ZDCTreeAnalysis::CloseOutputTree |
( |
| ) |
|
◆ Cut()
virtual Int_t ZDCTreeAnalysis::Cut |
( |
Long64_t |
entry | ) |
|
|
virtual |
◆ DoAnalysis()
void ZDCTreeAnalysis::DoAnalysis |
( |
| ) |
|
◆ GetEntry()
virtual Int_t ZDCTreeAnalysis::GetEntry |
( |
Long64_t |
entry | ) |
|
|
virtual |
◆ GetRunNumber()
unsigned int ZDCTreeAnalysis::GetRunNumber |
( |
| ) |
const |
|
inline |
◆ Init()
virtual void ZDCTreeAnalysis::Init |
( |
TTree * |
tree | ) |
|
|
virtual |
◆ InitInternal()
void ZDCTreeAnalysis::InitInternal |
( |
| ) |
|
|
private |
◆ LoadEnergyCalibrations()
void ZDCTreeAnalysis::LoadEnergyCalibrations |
( |
const std::array< std::array< TSpline *, 4 >, 2 > & |
calibSplines | ) |
|
|
inline |
◆ LoadEntry()
void ZDCTreeAnalysis::LoadEntry |
( |
int |
entry | ) |
|
|
inline |
◆ LoadNextEntry()
void ZDCTreeAnalysis::LoadNextEntry |
( |
| ) |
|
|
inline |
◆ LoadT0Calibrations()
void ZDCTreeAnalysis::LoadT0Calibrations |
( |
const std::array< std::array< TSpline *, 4 >, 2 > & |
calibSplinesHG, |
|
|
const std::array< std::array< TSpline *, 4 >, 2 > & |
calibSplinesLG |
|
) |
| |
|
inline |
◆ LoadTree()
virtual Long64_t ZDCTreeAnalysis::LoadTree |
( |
Long64_t |
entry | ) |
|
|
virtual |
◆ Loop()
virtual void ZDCTreeAnalysis::Loop |
( |
int |
numEntries = -1 , |
|
|
int |
startEntry = 0 |
|
) |
| |
|
virtual |
◆ Notify()
virtual Bool_t ZDCTreeAnalysis::Notify |
( |
| ) |
|
|
virtual |
◆ OpenOutputTree()
void ZDCTreeAnalysis::OpenOutputTree |
( |
const std::string & |
file | ) |
|
◆ PlotFits()
void ZDCTreeAnalysis::PlotFits |
( |
const std::string & |
canvasSavePath = "" | ) |
|
◆ SetADCOverUnderflowValues()
◆ SetCutValues()
Definition at line 232 of file ZDCTreeAnalysis.h.
241 DeltaT0CutLowHG, DeltaT0CutHighHG,
242 DeltaT0CutLowLG, DeltaT0CutHighLG);
◆ SetDebugLevel()
void ZDCTreeAnalysis::SetDebugLevel |
( |
int |
debugLevel = 0 | ) |
|
|
inline |
◆ SetLBDepT0()
void ZDCTreeAnalysis::SetLBDepT0 |
( |
int |
iside, |
|
|
int |
imod, |
|
|
TSpline * |
t0SplineLG, |
|
|
TSpline * |
t0SplineHG |
|
) |
| |
◆ SetSlewingCoeff()
void ZDCTreeAnalysis::SetSlewingCoeff |
( |
const std::array< std::array< std::vector< float >, 4 >, 2 > & |
HGParamArr, |
|
|
const std::array< std::array< std::vector< float >, 4 >, 2 > & |
LGParamArr |
|
) |
| |
|
inline |
◆ SetTauT0Values()
◆ SetupBunchTrains()
void ZDCTreeAnalysis::SetupBunchTrains |
( |
| ) |
|
|
private |
◆ Show()
virtual void ZDCTreeAnalysis::Show |
( |
Long64_t |
entry = -1 | ) |
|
|
virtual |
◆ _BCIDGap
std::vector<int> ZDCTreeAnalysis::_BCIDGap |
|
private |
◆ _BCIDPosInTrain
std::vector<int> ZDCTreeAnalysis::_BCIDPosInTrain |
|
private |
◆ _chisqDivAmpCutHG
float ZDCTreeAnalysis::_chisqDivAmpCutHG[2][4] |
|
private |
◆ _chisqDivAmpCutLG
float ZDCTreeAnalysis::_chisqDivAmpCutLG[2][4] |
|
private |
◆ _currentEntry
int ZDCTreeAnalysis::_currentEntry |
|
private |
◆ _dataAnalyzer_p
◆ _DeltaT0CutHigh
float ZDCTreeAnalysis::_DeltaT0CutHigh[2][4] |
|
private |
◆ _DeltaT0CutLow
float ZDCTreeAnalysis::_DeltaT0CutLow[2][4] |
|
private |
◆ _deltaTSample
float ZDCTreeAnalysis::_deltaTSample |
|
private |
◆ _doOutput
bool ZDCTreeAnalysis::_doOutput |
◆ _fitFunction
std::string ZDCTreeAnalysis::_fitFunction |
|
private |
◆ _fixTau1
bool ZDCTreeAnalysis::_fixTau1[2][4] |
|
private |
◆ _fixTau2
bool ZDCTreeAnalysis::_fixTau2[2][4] |
|
private |
◆ _haveCalibrations
bool ZDCTreeAnalysis::_haveCalibrations |
|
private |
◆ _haveLBDepECalib
bool ZDCTreeAnalysis::_haveLBDepECalib[2][4] |
|
private |
◆ _haveLBDepT0
bool ZDCTreeAnalysis::_haveLBDepT0[2][4] |
|
private |
◆ _haveModuleSettings
bool ZDCTreeAnalysis::_haveModuleSettings[2][4] |
|
private |
◆ _HGOverFlowADC
float ZDCTreeAnalysis::_HGOverFlowADC[2][4] |
|
private |
◆ _HGUnderFlowADC
float ZDCTreeAnalysis::_HGUnderFlowADC[2][4] |
|
private |
◆ _inLoop
bool ZDCTreeAnalysis::_inLoop |
|
private |
◆ _modECalib
float ZDCTreeAnalysis::_modECalib[2][4] |
|
private |
◆ _modECalibLB
TSpline* ZDCTreeAnalysis::_modECalibLB[2][4] |
|
private |
◆ _moduleHGGains
std::array<std::array<float, 4>, 2> ZDCTreeAnalysis::_moduleHGGains |
|
private |
◆ _moduleT0HG
float ZDCTreeAnalysis::_moduleT0HG[2][4] |
|
private |
◆ _moduleT0HGLB
TSpline* ZDCTreeAnalysis::_moduleT0HGLB[2][4] |
|
private |
◆ _moduleT0LG
float ZDCTreeAnalysis::_moduleT0LG[2][4] |
|
private |
◆ _moduleT0LGLB
TSpline* ZDCTreeAnalysis::_moduleT0LGLB[2][4] |
|
private |
◆ _moduleTau1
float ZDCTreeAnalysis::_moduleTau1[2][4] |
|
private |
◆ _moduleTau2
float ZDCTreeAnalysis::_moduleTau2[2][4] |
|
private |
◆ _nSample
int ZDCTreeAnalysis::_nSample |
|
private |
◆ _outTFile
TFile* ZDCTreeAnalysis::_outTFile |
◆ _outTree
TTree* ZDCTreeAnalysis::_outTree |
◆ _peak2ndDerivMinSamples
◆ _peak2ndDerivMinThresholds
◆ _preSampleIdx
int ZDCTreeAnalysis::_preSampleIdx |
|
private |
◆ _runNumber
unsigned int ZDCTreeAnalysis::_runNumber |
|
private |
◆ _T0SlewCoeffHG
float ZDCTreeAnalysis::_T0SlewCoeffHG[2][4][3] |
|
private |
◆ _T0SlewCoeffLG
float ZDCTreeAnalysis::_T0SlewCoeffLG[2][4][3] |
|
private |
◆ _trains
std::vector<std::set<int> > ZDCTreeAnalysis::_trains |
|
private |
◆ b_bcid
TBranch* ZDCTreeAnalysis::b_bcid |
|
private |
◆ b_decisions
TBranch* ZDCTreeAnalysis::b_decisions |
|
private |
◆ b_eventNumber
TBranch* ZDCTreeAnalysis::b_eventNumber |
|
private |
◆ b_L1_ZDC_A
TBranch* ZDCTreeAnalysis::b_L1_ZDC_A |
|
private |
◆ b_L1_ZDC_A_C
TBranch* ZDCTreeAnalysis::b_L1_ZDC_A_C |
|
private |
◆ b_L1_ZDC_AND
TBranch* ZDCTreeAnalysis::b_L1_ZDC_AND |
|
private |
◆ b_L1_ZDC_C
TBranch* ZDCTreeAnalysis::b_L1_ZDC_C |
|
private |
◆ b_lumiBlock
TBranch* ZDCTreeAnalysis::b_lumiBlock |
|
private |
◆ b_passBits
TBranch* ZDCTreeAnalysis::b_passBits |
|
private |
◆ b_prescales
TBranch* ZDCTreeAnalysis::b_prescales |
|
private |
◆ b_ps_L1_ZDC_A
TBranch* ZDCTreeAnalysis::b_ps_L1_ZDC_A |
|
private |
◆ b_ps_L1_ZDC_A_C
TBranch* ZDCTreeAnalysis::b_ps_L1_ZDC_A_C |
|
private |
◆ b_ps_L1_ZDC_AND
TBranch* ZDCTreeAnalysis::b_ps_L1_ZDC_AND |
|
private |
◆ b_ps_L1_ZDC_C
TBranch* ZDCTreeAnalysis::b_ps_L1_ZDC_C |
|
private |
◆ b_runNumber
TBranch* ZDCTreeAnalysis::b_runNumber |
|
private |
◆ b_tav
TBranch* ZDCTreeAnalysis::b_tav |
|
private |
◆ b_tbp
TBranch* ZDCTreeAnalysis::b_tbp |
|
private |
◆ b_trigger
TBranch* ZDCTreeAnalysis::b_trigger |
|
private |
◆ b_trigger_TBP
TBranch* ZDCTreeAnalysis::b_trigger_TBP |
|
private |
◆ b_zdc_raw
TBranch* ZDCTreeAnalysis::b_zdc_raw |
|
private |
◆ bcid
UInt_t ZDCTreeAnalysis::bcid |
◆ bcidGap
int ZDCTreeAnalysis::bcidGap |
◆ bcidPosInTrain
int ZDCTreeAnalysis::bcidPosInTrain |
◆ eventNumber
UInt_t ZDCTreeAnalysis::eventNumber |
◆ fcalEt
Float_t ZDCTreeAnalysis::fcalEt |
◆ fChain
TTree* ZDCTreeAnalysis::fChain |
◆ fCurrent
Int_t ZDCTreeAnalysis::fCurrent |
◆ L1_ZDC_A
Bool_t ZDCTreeAnalysis::L1_ZDC_A |
◆ L1_ZDC_A_C
Bool_t ZDCTreeAnalysis::L1_ZDC_A_C |
◆ L1_ZDC_AND
Bool_t ZDCTreeAnalysis::L1_ZDC_AND |
◆ L1_ZDC_C
Bool_t ZDCTreeAnalysis::L1_ZDC_C |
◆ lumiBlock
UInt_t ZDCTreeAnalysis::lumiBlock |
◆ mbts_countA
UShort_t ZDCTreeAnalysis::mbts_countA |
◆ mbts_countC
UShort_t ZDCTreeAnalysis::mbts_countC |
◆ mbts_timeA
Float_t ZDCTreeAnalysis::mbts_timeA |
◆ mbts_timeC
Float_t ZDCTreeAnalysis::mbts_timeC |
◆ mbts_timeDiff
Float_t ZDCTreeAnalysis::mbts_timeDiff |
◆ ntrk
Int_t ZDCTreeAnalysis::ntrk |
◆ nvx
Int_t ZDCTreeAnalysis::nvx |
◆ passBits
UInt_t ZDCTreeAnalysis::passBits |
◆ ps_L1_ZDC_A
Float_t ZDCTreeAnalysis::ps_L1_ZDC_A |
◆ ps_L1_ZDC_A_C
Float_t ZDCTreeAnalysis::ps_L1_ZDC_A_C |
◆ ps_L1_ZDC_AND
Float_t ZDCTreeAnalysis::ps_L1_ZDC_AND |
◆ ps_L1_ZDC_C
Float_t ZDCTreeAnalysis::ps_L1_ZDC_C |
◆ runNumber
UInt_t ZDCTreeAnalysis::runNumber |
◆ tav
UInt_t ZDCTreeAnalysis::tav[16] |
◆ tbp
UInt_t ZDCTreeAnalysis::tbp[16] |
◆ trigger
ULong64_t ZDCTreeAnalysis::trigger |
◆ trigger_TBP
UInt_t ZDCTreeAnalysis::trigger_TBP |
◆ vx
Float_t ZDCTreeAnalysis::vx[3] |
◆ vxcov
Float_t ZDCTreeAnalysis::vxcov[6] |
◆ vxntrk
Int_t ZDCTreeAnalysis::vxntrk |
◆ zdc_Amp
float ZDCTreeAnalysis::zdc_Amp[2][4] |
◆ zdc_AvgTime
float ZDCTreeAnalysis::zdc_AvgTime[2] |
◆ zdc_CalibAmp
float ZDCTreeAnalysis::zdc_CalibAmp[2][4] |
◆ zdc_CalibTime
float ZDCTreeAnalysis::zdc_CalibTime[2][4] |
◆ zdc_FitChisq
float ZDCTreeAnalysis::zdc_FitChisq[2][4] |
◆ zdc_FitT0
float ZDCTreeAnalysis::zdc_FitT0[2][4] |
◆ zdc_MaxADC
float ZDCTreeAnalysis::zdc_MaxADC[2][4] |
◆ zdc_MaxADCSample
int ZDCTreeAnalysis::zdc_MaxADCSample[2][4] |
◆ zdc_Min2ndDeriv
float ZDCTreeAnalysis::zdc_Min2ndDeriv[2][4] |
◆ zdc_Min2ndDerivSample
int ZDCTreeAnalysis::zdc_Min2ndDerivSample[2][4] |
◆ zdc_MinADC
float ZDCTreeAnalysis::zdc_MinADC[2][4] |
◆ zdc_MinADCSample
int ZDCTreeAnalysis::zdc_MinADCSample[2][4] |
◆ zdc_ModuleMask
int ZDCTreeAnalysis::zdc_ModuleMask |
◆ zdc_Presample
float ZDCTreeAnalysis::zdc_Presample[2][4] |
◆ zdc_raw
UShort_t ZDCTreeAnalysis::zdc_raw[2][4][2][2][7] |
◆ zdc_samplesDeriv
std::vector<float>* ZDCTreeAnalysis::zdc_samplesDeriv |
◆ zdc_samplesDeriv2nd
std::vector<float>* ZDCTreeAnalysis::zdc_samplesDeriv2nd |
◆ zdc_samplesSub
std::vector<float>* ZDCTreeAnalysis::zdc_samplesSub |
◆ zdc_sideFailed
bool ZDCTreeAnalysis::zdc_sideFailed[2] |
◆ zdc_Status
int ZDCTreeAnalysis::zdc_Status[2][4] |
◆ zdc_SumAmp
float ZDCTreeAnalysis::zdc_SumAmp[2] |
◆ zdc_SumCalibAmp
float ZDCTreeAnalysis::zdc_SumCalibAmp[2] |
◆ zdc_T0Corr
float ZDCTreeAnalysis::zdc_T0Corr[2][4] |
The documentation for this class was generated from the following file:
void SetCutValues(const ZDCModuleFloatArray &chisqDivAmpCutHG, const ZDCModuleFloatArray &chisqDivAmpCutLG, const ZDCModuleFloatArray &deltaT0MinHG, const ZDCModuleFloatArray &deltaT0MaxHG, const ZDCModuleFloatArray &deltaT0MinLG, const ZDCModuleFloatArray &deltaT0MaxLG)
void SetTauT0Values(const ZDCModuleBoolArray &fxiTau1, const ZDCModuleBoolArray &fxiTau2, const ZDCModuleFloatArray &tau1, const ZDCModuleFloatArray &tau2, const ZDCModuleFloatArray &t0HG, const ZDCModuleFloatArray &t0LG)
void SetTimingCorrParams(ZDCPulseAnalyzer::TimingCorrMode mode, float refADC, float refScale, const std::array< std::array< std::vector< float >, 4 >, 2 > &HGParamArr, const std::array< std::array< std::vector< float >, 4 >, 2 > &LGParamArr)