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 Types | Private Attributes
TkAlCaSkimTreeMerger Class Reference
Inheritance diagram for TkAlCaSkimTreeMerger:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
 TkAlCaSkimTreeMerger (const edm::ParameterSet &iConfig)
 
 ~TkAlCaSkimTreeMerger ()
 
- 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 Types

typedef std::map< uint32_t,
uint32_t > 
DetHitMap
 

Private Attributes

TChain * ch_
 
std::string filelist_
 
std::string firstfilename_
 
TTree * firsttree_
 
DetHitMap hitmap_
 
int maxhits_
 
edm::ParameterSet maxhitsSet_
 
int maxPXBhits_
 
int maxPXFhits_
 
int maxTEChits_
 
int maxTIBhits_
 
int maxTIDhits_
 
int maxTOBhits_
 
TStopwatch myclock
 
TTree * out_
 
std::string outfilename_
 
DetHitMap overlapmap_
 
std::string treename_
 

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 25 of file TkAlCaSkimTreeMerger.cc.

Member Typedef Documentation

typedef std::map<uint32_t,uint32_t> TkAlCaSkimTreeMerger::DetHitMap
private

Definition at line 44 of file TkAlCaSkimTreeMerger.cc.

Constructor & Destructor Documentation

TkAlCaSkimTreeMerger::TkAlCaSkimTreeMerger ( const edm::ParameterSet iConfig)

Definition at line 62 of file TkAlCaSkimTreeMerger.cc.

TkAlCaSkimTreeMerger::~TkAlCaSkimTreeMerger ( )

Definition at line 84 of file TkAlCaSkimTreeMerger.cc.

Member Function Documentation

void TkAlCaSkimTreeMerger::analyze ( const edm::Event ,
const edm::EventSetup  
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 183 of file TkAlCaSkimTreeMerger.cc.

void TkAlCaSkimTreeMerger::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 94 of file TkAlCaSkimTreeMerger.cc.

void TkAlCaSkimTreeMerger::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 188 of file TkAlCaSkimTreeMerger.cc.

Member Data Documentation

TChain* TkAlCaSkimTreeMerger::ch_
private

Definition at line 37 of file TkAlCaSkimTreeMerger.cc.

std::string TkAlCaSkimTreeMerger::filelist_
private

Definition at line 38 of file TkAlCaSkimTreeMerger.cc.

std::string TkAlCaSkimTreeMerger::firstfilename_
private

Definition at line 39 of file TkAlCaSkimTreeMerger.cc.

TTree* TkAlCaSkimTreeMerger::firsttree_
private

Definition at line 36 of file TkAlCaSkimTreeMerger.cc.

DetHitMap TkAlCaSkimTreeMerger::hitmap_
private

Definition at line 45 of file TkAlCaSkimTreeMerger.cc.

int TkAlCaSkimTreeMerger::maxhits_
private

Definition at line 47 of file TkAlCaSkimTreeMerger.cc.

edm::ParameterSet TkAlCaSkimTreeMerger::maxhitsSet_
private

Definition at line 48 of file TkAlCaSkimTreeMerger.cc.

int TkAlCaSkimTreeMerger::maxPXBhits_
private

Definition at line 49 of file TkAlCaSkimTreeMerger.cc.

int TkAlCaSkimTreeMerger::maxPXFhits_
private

Definition at line 49 of file TkAlCaSkimTreeMerger.cc.

int TkAlCaSkimTreeMerger::maxTEChits_
private

Definition at line 49 of file TkAlCaSkimTreeMerger.cc.

int TkAlCaSkimTreeMerger::maxTIBhits_
private

Definition at line 49 of file TkAlCaSkimTreeMerger.cc.

int TkAlCaSkimTreeMerger::maxTIDhits_
private

Definition at line 49 of file TkAlCaSkimTreeMerger.cc.

int TkAlCaSkimTreeMerger::maxTOBhits_
private

Definition at line 49 of file TkAlCaSkimTreeMerger.cc.

TStopwatch TkAlCaSkimTreeMerger::myclock
private

Definition at line 52 of file TkAlCaSkimTreeMerger.cc.

TTree* TkAlCaSkimTreeMerger::out_
private

Definition at line 35 of file TkAlCaSkimTreeMerger.cc.

std::string TkAlCaSkimTreeMerger::outfilename_
private

Definition at line 41 of file TkAlCaSkimTreeMerger.cc.

DetHitMap TkAlCaSkimTreeMerger::overlapmap_
private

Definition at line 46 of file TkAlCaSkimTreeMerger.cc.

std::string TkAlCaSkimTreeMerger::treename_
private

Definition at line 40 of file TkAlCaSkimTreeMerger.cc.