51 float val = -10000000;
55 if(
egamma.isolationValue(val, isoType)){
56 hist->Fill(val/
GeV,weight);
std::string m_sParticleType
void fill(const xAOD::Egamma &egamma, const xAOD::EventInfo &eventInfo)
static void FillIsolationPlot(TH1 *hist, xAOD::Iso::IsolationType isoType, const xAOD::Egamma &egamma, const xAOD::EventInfo &eventInfo)
virtual void initializePlots()
IsolationPlots(PlotBase *pParent, const std::string &sDir, std::string sParticleType)
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)
float beamSpotWeight() const
Weight for beam spot size reweighting.
IsolationType
Overall enumeration for isolation types in xAOD files.
@ topoetcone20
Topo-cluster ET-sum.
@ ptcone20
Track isolation.
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
EventInfo_v1 EventInfo
Definition of the latest event info version.
Egamma_v1 Egamma
Definition of the current "egamma version".