34 std::cout<<
"PFOCalibHitClusterMomentPlots: You're trying to book histograms for flow elements based on calibration hits which are not available in most MC samples - sorry"<<std::endl;
40 float moment_ENG_CALIB_FRAC_EM = -1.0;
44 float moment_ENG_CALIB_FRAC_HAD = -1.0;
48 float moment_ENG_CALIB_FRAC_REST = -1.0;
52 float PFOEta =
PFO.eta();
54 if (fabs(PFOEta) < 1.5){
59 else if (fabs(PFOEta) < 2.5){
64 else if (fabs(PFOEta) < 3.2){
TH1 * m_PFO_ENG_CALIB_FRAC_REST_etaBinB
TH1 * m_PFO_ENG_CALIB_FRAC_REST_etaBinA
TH1 * m_PFO_ENG_CALIB_FRAC_HAD_etaBinB
TH1 * m_PFO_ENG_CALIB_FRAC_EM_etaBinD
TH1 * m_PFO_ENG_CALIB_FRAC_HAD
TH1 * m_PFO_ENG_CALIB_FRAC_EM_etaBinB
TH1 * m_PFO_ENG_CALIB_FRAC_HAD_etaBinA
TH1 * m_PFO_ENG_CALIB_FRAC_HAD_etaBinD
void fill(const xAOD::PFO &PFO, const xAOD::EventInfo &eventInfo)
TH1 * m_PFO_ENG_CALIB_FRAC_REST
TH1 * m_PFO_ENG_CALIB_FRAC_EM
Histograms inclusive in eta.
TH1 * m_PFO_ENG_CALIB_FRAC_REST_etaBinD
TH1 * m_PFO_ENG_CALIB_FRAC_REST_etaBinC
PFOCalibHitClusterMomentPlots(PlotBase *pParent, const std::string &sDir, const std::string &sPFOContainerName, const std::string &sFEContainerName)
TH1 * m_PFO_ENG_CALIB_FRAC_EM_etaBinA
Same histograms binned in eta regions.
std::string m_sPFOContainerName
TH1 * m_PFO_ENG_CALIB_FRAC_EM_etaBinC
std::string m_sFEContainerName
TH1 * m_PFO_ENG_CALIB_FRAC_HAD_etaBinC
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PlotBase(PlotBase *parent, const std::string &sDir)
@ ENG_CALIB_FRAC_REST
Calibration Hit energy inside the cluster caused by other particles.
@ ENG_CALIB_FRAC_EM
Calibration Hit energy inside the cluster caused by e/gamma/pi0.
@ ENG_CALIB_FRAC_HAD
Calibration Hit energy inside the cluster caused by charged pi+ and pi-.
float beamSpotWeight() const
Weight for beam spot size reweighting.
PFO_v1 PFO
Definition of the current "pfo version".
EventInfo_v1 EventInfo
Definition of the latest event info version.