CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CentralityTableProducer Class Reference
Inheritance diagram for CentralityTableProducer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 CentralityTableProducer (const edm::ParameterSet &)
 
 ~CentralityTableProducer ()
 
- 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< ConsumesInfoconsumesInfo () 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 Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void beginRun (const edm::EventSetup &)
 
virtual void endJob () override
 
void printBin (const CentralityTable::CBin *)
 

Private Attributes

const CentralityBinsCB
 
CentralityTableCT
 
bool debug_
 
bool firstRunOnly_
 
edm::Service< TFileServicefs
 
edm::ESHandle< CentralityTableinputDB_
 
TFile * inputTFile_
 
string inputTFileName_
 
bool makeDBFromTFile_
 
bool makeTFileFromDB_
 
string rootTag_
 
unsigned int runnum_
 
ofstream text_
 

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)
 

Detailed Description

Definition at line 40 of file CentralityTableProducer.cc.

Constructor & Destructor Documentation

CentralityTableProducer::CentralityTableProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 83 of file CentralityTableProducer.cc.

CentralityTableProducer::~CentralityTableProducer ( )

Definition at line 100 of file CentralityTableProducer.cc.

Member Function Documentation

void CentralityTableProducer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 112 of file CentralityTableProducer.cc.

void CentralityTableProducer::beginRun ( const edm::EventSetup iSetup)
privatevirtual

Definition at line 125 of file CentralityTableProducer.cc.

void CentralityTableProducer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 131 of file CentralityTableProducer.cc.

void CentralityTableProducer::printBin ( const CentralityTable::CBin thisBin)
private

Definition at line 170 of file CentralityTableProducer.cc.

Member Data Documentation

const CentralityBins* CentralityTableProducer::CB
private

Definition at line 66 of file CentralityTableProducer.cc.

CentralityTable* CentralityTableProducer::CT
private

Definition at line 65 of file CentralityTableProducer.cc.

bool CentralityTableProducer::debug_
private

Definition at line 55 of file CentralityTableProducer.cc.

bool CentralityTableProducer::firstRunOnly_
private

Definition at line 54 of file CentralityTableProducer.cc.

edm::Service<TFileService> CentralityTableProducer::fs
private

Definition at line 60 of file CentralityTableProducer.cc.

edm::ESHandle<CentralityTable> CentralityTableProducer::inputDB_
private

Definition at line 57 of file CentralityTableProducer.cc.

TFile* CentralityTableProducer::inputTFile_
private

Definition at line 58 of file CentralityTableProducer.cc.

string CentralityTableProducer::inputTFileName_
private

Definition at line 59 of file CentralityTableProducer.cc.

bool CentralityTableProducer::makeDBFromTFile_
private

Definition at line 52 of file CentralityTableProducer.cc.

bool CentralityTableProducer::makeTFileFromDB_
private

Definition at line 53 of file CentralityTableProducer.cc.

string CentralityTableProducer::rootTag_
private

Definition at line 62 of file CentralityTableProducer.cc.

unsigned int CentralityTableProducer::runnum_
private

Definition at line 68 of file CentralityTableProducer.cc.

ofstream CentralityTableProducer::text_
private

Definition at line 63 of file CentralityTableProducer.cc.