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
edm::TestMixedSource Class Reference

#include <TestMixedSource.h>

Inheritance diagram for edm::TestMixedSource:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 TestMixedSource (const edm::ParameterSet &)
 
 ~TestMixedSource ()
 
- 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 beginJob ()
 
virtual void endJob ()
 

Private Attributes

int bunchcr_
 
edm::EDGetTokenT
< CrossingFrame< PCaloHit > > 
CaloToken1_
 
std::string fileName_
 
edm::EDGetTokenT
< CrossingFrame
< edm::HepMCProduct > > 
HepMCToken_
 
TFile * histFile_
 
TH1I * histHepMCProduct_bunch_
 
TH1I * histPCaloHit_bunch_
 
TH1I * histPSimHit_bunchPileups_MuonCSCHits_
 
TH1I * histPSimHit_bunchPileups_TrackerHitsTECHighTof_
 
TH1I * histPSimHit_bunchSignal_MuonCSCHits_
 
TH1I * histPSimHit_bunchSignal_TrackerHitsTECHighTof_
 
TH1I * histTrack_bunchPileups_
 
TH1I * histTrack_bunchSignal_
 
TH1I * histVertex_bunch_
 
int maxbunch_
 
int minbunch_
 
edm::EDGetTokenT
< CrossingFrame< PSimHit > > 
MuonToken_
 
std::ofstream outputFile
 
edm::EDGetTokenT
< CrossingFrame< SimTrack > > 
SimTrackToken_
 
edm::EDGetTokenT
< CrossingFrame< SimVertex > > 
SimVertexToken_
 
TH1I * tofhist_
 
TH1I * tofhist_sig_
 
edm::EDGetTokenT
< CrossingFrame< PSimHit > > 
TrackerToken0_
 

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 45 of file TestMixedSource.h.

Constructor & Destructor Documentation

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

Definition at line 55 of file TestMixedSource.cc.

TestMixedSource::~TestMixedSource ( )

Definition at line 105 of file TestMixedSource.cc.

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 117 of file TestMixedSource.cc.

void TestMixedSource::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 296 of file TestMixedSource.cc.

void TestMixedSource::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 308 of file TestMixedSource.cc.

Member Data Documentation

int edm::TestMixedSource::bunchcr_
private

Definition at line 59 of file TestMixedSource.h.

edm::EDGetTokenT<CrossingFrame<PCaloHit> > edm::TestMixedSource::CaloToken1_
private

Definition at line 78 of file TestMixedSource.h.

std::string edm::TestMixedSource::fileName_
private

Definition at line 58 of file TestMixedSource.h.

edm::EDGetTokenT<CrossingFrame<edm::HepMCProduct> > edm::TestMixedSource::HepMCToken_
private

Definition at line 82 of file TestMixedSource.h.

TFile* edm::TestMixedSource::histFile_
private

Definition at line 73 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histHepMCProduct_bunch_
private

Definition at line 72 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histPCaloHit_bunch_
private

Definition at line 65 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histPSimHit_bunchPileups_MuonCSCHits_
private

Definition at line 71 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histPSimHit_bunchPileups_TrackerHitsTECHighTof_
private

Definition at line 67 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histPSimHit_bunchSignal_MuonCSCHits_
private

Definition at line 70 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histPSimHit_bunchSignal_TrackerHitsTECHighTof_
private

Definition at line 66 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histTrack_bunchPileups_
private

Definition at line 62 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histTrack_bunchSignal_
private

Definition at line 63 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::histVertex_bunch_
private

Definition at line 64 of file TestMixedSource.h.

int edm::TestMixedSource::maxbunch_
private

Definition at line 61 of file TestMixedSource.h.

int edm::TestMixedSource::minbunch_
private

Definition at line 60 of file TestMixedSource.h.

edm::EDGetTokenT<CrossingFrame<PSimHit> > edm::TestMixedSource::MuonToken_
private

Definition at line 76 of file TestMixedSource.h.

std::ofstream edm::TestMixedSource::outputFile
private

Definition at line 57 of file TestMixedSource.h.

edm::EDGetTokenT<CrossingFrame<SimTrack> > edm::TestMixedSource::SimTrackToken_
private

Definition at line 80 of file TestMixedSource.h.

edm::EDGetTokenT<CrossingFrame<SimVertex> > edm::TestMixedSource::SimVertexToken_
private

Definition at line 81 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::tofhist_
private

Definition at line 68 of file TestMixedSource.h.

TH1I* edm::TestMixedSource::tofhist_sig_
private

Definition at line 69 of file TestMixedSource.h.

edm::EDGetTokenT<CrossingFrame<PSimHit> > edm::TestMixedSource::TrackerToken0_
private

Definition at line 75 of file TestMixedSource.h.