#include <FlatEGunASCIIWriter.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const EventSetup &) override |
FlatEGunASCIIWriter (const edm::ParameterSet &) | |
virtual | ~FlatEGunASCIIWriter () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
int | fCurrentEvent |
HepMC::GenEvent * | fEvt |
double | fMaxE |
double | fMaxEta |
double | fMaxPhi |
double | fMinE |
double | fMinEta |
double | fMinPhi |
std::string | fOutFileName |
HepMC::IO_GenEvent * | fOutStream |
std::vector< int > | fPartIDs |
ESHandle < HepPDT::ParticleDataTable > | fPDGTable |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 34 of file FlatEGunASCIIWriter.h.
|
explicit |
Definition at line 37 of file FlatEGunASCIIWriter.cc.
References fMaxE, fMaxEta, fMaxPhi, fMinE, fMinEta, fMinPhi, fPartIDs, and edm::ParameterSet::getParameter().
|
virtual |
Definition at line 54 of file FlatEGunASCIIWriter.cc.
References fEvt, fOutStream, and NULL.
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 81 of file FlatEGunASCIIWriter.cc.
References funct::abs(), funct::cos(), relval_parameters_module::energy, eta, create_public_lumi_plots::exp, fCurrentEvent, fEvt, fMaxE, fMaxEta, fMaxPhi, fMinE, fMinEta, fMinPhi, fOutStream, fPartIDs, fPDGTable, GenParticle::GenParticle, NULL, AlCaHLTBitMon_ParallelJobs::p, phi(), reco::return(), funct::sin(), mathSSE::sqrt(), and theta().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 69 of file FlatEGunASCIIWriter.cc.
References Exception, fOutFileName, fOutStream, and reco::return().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 62 of file FlatEGunASCIIWriter.cc.
References fPDGTable, and edm::EventSetup::getData().
|
private |
Definition at line 72 of file FlatEGunASCIIWriter.h.
Referenced by analyze().
|
private |
Definition at line 63 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and ~FlatEGunASCIIWriter().
|
private |
Definition at line 60 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and FlatEGunASCIIWriter().
|
private |
Definition at line 56 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and FlatEGunASCIIWriter().
|
private |
Definition at line 58 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and FlatEGunASCIIWriter().
|
private |
Definition at line 59 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and FlatEGunASCIIWriter().
|
private |
Definition at line 55 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and FlatEGunASCIIWriter().
|
private |
Definition at line 57 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and FlatEGunASCIIWriter().
|
private |
Definition at line 69 of file FlatEGunASCIIWriter.h.
Referenced by beginJob().
|
private |
Definition at line 70 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), beginJob(), and ~FlatEGunASCIIWriter().
|
private |
Definition at line 54 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and FlatEGunASCIIWriter().
|
private |
Definition at line 67 of file FlatEGunASCIIWriter.h.
Referenced by analyze(), and beginRun().