Class IParticleHistsAlgo¶
Defined in File IParticleHistsAlgo.h
Inheritance Relationships¶
Base Type¶
public xAH::Algorithm(Class Algorithm)
Derived Types¶
public ElectronHistsAlgo(Class ElectronHistsAlgo)public JetHistsAlgo(Class JetHistsAlgo)public MuonHistsAlgo(Class MuonHistsAlgo)public PhotonHistsAlgo(Class PhotonHistsAlgo)
Class Documentation¶
-
class
IParticleHistsAlgo: public xAH::Algorithm¶ Subclassed by ElectronHistsAlgo, JetHistsAlgo, MuonHistsAlgo, PhotonHistsAlgo
Public Functions
-
IParticleHistsAlgo(std::string className = "IParticleHistsAlgo")¶
-
EL::StatusCode
setupJob(EL::Job &job)¶
-
EL::StatusCode
fileExecute()¶
-
EL::StatusCode
histInitialize()¶
-
EL::StatusCode
changeInput(bool firstFile)¶
-
EL::StatusCode
initialize()¶
-
EL::StatusCode
execute()¶ Calls execute<IParticleContainer>
-
EL::StatusCode
postExecute()¶
-
EL::StatusCode
finalize()¶
-
EL::StatusCode
histFinalize()¶
-
template<class
HIST_T, classCONT_T>
EL::StatusCodeexecute()¶ Fill histograms with particles in a container.
Templated (container type) function that loops over all systematics (or nominal only)
and fills the corresponding histogram objects.
- The event weight, in case of Monte Carlo samples, is
mcEventWeight crossSection*filterEfficiency*kfactor
where the sample-weights are taken from SampleHandler and set to 1 by default.
-
EL::StatusCode
AddHists(std::string name)¶ Calls AddHists<IParticleHists>
- Parameters
name: Name of the systematic
-
template<class
HIST_T>
EL::StatusCodeAddHists(std::string name)¶ Create histograms.
Tempalated (histogram colllection class) function that creates all necessary histogram
objects for a given systematic. The class chosen for HIST_T template must inherit from IParticleHists.
- Parameters
name: Name of the systematic
Public Members
-
std::string
m_inContainerName= ""¶ input container
-
std::string
m_detailStr= ""¶ which plots will be turned on
-
std::string
m_inputAlgo= ""¶ name of algo input container comes from - only if
-
std::string
m_histPrefix¶ Histogram name prefix when using IParticleHistsAlgo directly
-
std::string
m_histTitle¶ Histogram xaxis title when using IParticleHistsAlgo directly
-