#include <yetkin/PATHeavyIonProducer/src/PATHeavyIonProducer.cc>
Public Member Functions | |
PATHeavyIonProducer (const edm::ParameterSet &) | |
~PATHeavyIonProducer () | |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
edm::InputTag | centSrc_ |
bool | doMC_ |
bool | doReco_ |
edm::InputTag | evtPlaneSrc_ |
std::vector< std::string > | hepmcSrc_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 47 of file PATHeavyIonProducer.cc.
PATHeavyIonProducer::PATHeavyIonProducer | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 79 of file PATHeavyIonProducer.cc.
References edm::ParameterSet::getParameter().
{ //register your products produces<pat::HeavyIon>(); //now do what ever other initialization is needed doReco_ = iConfig.getParameter<bool>("doReco"); if(doReco_){ centSrc_ = iConfig.getParameter<edm::InputTag>("centrality"); evtPlaneSrc_ = iConfig.getParameter<edm::InputTag>("evtPlane"); } doMC_ = iConfig.getParameter<bool>("doMC"); if(doMC_){ hepmcSrc_ = iConfig.getParameter<std::vector<std::string> >("generators"); } }
PATHeavyIonProducer::~PATHeavyIonProducer | ( | ) |
Definition at line 99 of file PATHeavyIonProducer.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
void PATHeavyIonProducer::beginJob | ( | void | ) | [private, virtual] |
void PATHeavyIonProducer::endJob | ( | void | ) | [private, virtual] |
void PATHeavyIonProducer::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
edm::InputTag PATHeavyIonProducer::centSrc_ [private] |
Definition at line 62 of file PATHeavyIonProducer.cc.
bool PATHeavyIonProducer::doMC_ [private] |
Definition at line 59 of file PATHeavyIonProducer.cc.
bool PATHeavyIonProducer::doReco_ [private] |
Definition at line 60 of file PATHeavyIonProducer.cc.
Definition at line 63 of file PATHeavyIonProducer.cc.
std::vector<std::string> PATHeavyIonProducer::hepmcSrc_ [private] |
Definition at line 61 of file PATHeavyIonProducer.cc.