#include <HcalForwardLibWriter.h>
Classes | |
struct | FileHandle |
Public Member Functions | |
HcalForwardLibWriter (const edm::ParameterSet &) | |
~HcalForwardLibWriter () | |
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 (const std::string &iProcessName, std::vector< const char * > &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 Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
int | readUserData () |
Private Attributes | |
HFShowerPhotonCollection | emColl |
HFShowerLibraryEventInfo | evtInfo |
edm::Service< TFileService > | fs |
HFShowerPhotonCollection | hadColl |
TFile * | LibFile |
TTree * | LibTree |
int | nbins |
int | nshowers |
std::string | theDataFile |
TFile * | theFile |
std::vector< FileHandle > | theFileHandle |
TTree * | theTree |
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 29 of file HcalForwardLibWriter.h.
|
explicit |
Definition at line 6 of file HcalForwardLibWriter.cc.
References emColl, TFileService::file(), personalPlayback::fp, fs, edm::ParameterSet::getParameter(), hadColl, LibTree, nbins, nshowers, readUserData(), AlCaHLTBitMon_QueryRunRegistry::string, and theDataFile.
HcalForwardLibWriter::~HcalForwardLibWriter | ( | ) |
Definition at line 25 of file HcalForwardLibWriter.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 28 of file HcalForwardLibWriter.cc.
References emColl, personalPlayback::fn, hadColl, i, GetRecoTauVFromDQM_MC_cff::kk, LibTree, gen::n, nbins, AlCaHLTBitMon_QueryRunRegistry::string, tree::t, theFile, theFileHandle, theTree, x, y, and z.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 117 of file HcalForwardLibWriter.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 120 of file HcalForwardLibWriter.cc.
References TFileService::file(), fs, and LibTree.
|
private |
Definition at line 126 of file HcalForwardLibWriter.cc.
References HcalForwardLibWriter::FileHandle::id, input, relval_steps::k, HcalForwardLibWriter::FileHandle::momentum, HcalForwardLibWriter::FileHandle::name, AlCaHLTBitMon_QueryRunRegistry::string, theDataFile, and theFileHandle.
Referenced by HcalForwardLibWriter().
|
private |
Definition at line 57 of file HcalForwardLibWriter.h.
Referenced by analyze(), and HcalForwardLibWriter().
|
private |
Definition at line 56 of file HcalForwardLibWriter.h.
|
private |
Definition at line 52 of file HcalForwardLibWriter.h.
Referenced by endJob(), and HcalForwardLibWriter().
|
private |
Definition at line 58 of file HcalForwardLibWriter.h.
Referenced by analyze(), and HcalForwardLibWriter().
|
private |
Definition at line 49 of file HcalForwardLibWriter.h.
|
private |
Definition at line 50 of file HcalForwardLibWriter.h.
Referenced by analyze(), endJob(), and HcalForwardLibWriter().
|
private |
Definition at line 44 of file HcalForwardLibWriter.h.
Referenced by analyze(), and HcalForwardLibWriter().
|
private |
Definition at line 45 of file HcalForwardLibWriter.h.
Referenced by HcalForwardLibWriter().
|
private |
Definition at line 53 of file HcalForwardLibWriter.h.
Referenced by HcalForwardLibWriter(), and readUserData().
|
private |
Definition at line 47 of file HcalForwardLibWriter.h.
Referenced by analyze().
|
private |
Definition at line 54 of file HcalForwardLibWriter.h.
Referenced by analyze(), and readUserData().
|
private |
Definition at line 48 of file HcalForwardLibWriter.h.
Referenced by analyze().