#include <TestMixedSource.h>
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< 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 &) 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 |
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 45 of file TestMixedSource.h.
|
explicit |
Definition at line 55 of file TestMixedSource.cc.
References CaloToken1_, HepMCToken_, histHepMCProduct_bunch_, histPCaloHit_bunch_, histPSimHit_bunchPileups_MuonCSCHits_, histPSimHit_bunchPileups_TrackerHitsTECHighTof_, histPSimHit_bunchSignal_MuonCSCHits_, histPSimHit_bunchSignal_TrackerHitsTECHighTof_, histTrack_bunchPileups_, histTrack_bunchSignal_, histVertex_bunch_, HLT_25ns14e33_v1_cff::InputTag, maxbunch_, minbunch_, MuonToken_, SimTrackToken_, SimVertexToken_, GlobalPosition_Frontier_DevDB_cff::tag, tofhist_, tofhist_sig_, and TrackerToken0_.
TestMixedSource::~TestMixedSource | ( | ) |
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 117 of file TestMixedSource.cc.
References a, b, MixCollection< T >::MixItr::bunch(), EnergyCorrector::c, CaloToken1_, cuy::col, gather_cfg::cout, ztail::d, alignCSCRings::e, edm::Event::getByToken(), MixCollection< T >::MixItr::getTrigger(), HepMCToken_, histHepMCProduct_bunch_, histPCaloHit_bunch_, histPSimHit_bunchPileups_MuonCSCHits_, histPSimHit_bunchPileups_TrackerHitsTECHighTof_, histPSimHit_bunchSignal_MuonCSCHits_, histPSimHit_bunchSignal_TrackerHitsTECHighTof_, histTrack_bunchPileups_, histTrack_bunchSignal_, histVertex_bunch_, MuonToken_, outputFile, edm::Handle< T >::product(), SimTrackToken_, SimVertexToken_, AlCaHLTBitMon_QueryRunRegistry::string, tofhist_, tofhist_sig_, and TrackerToken0_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 296 of file TestMixedSource.cc.
References gather_cfg::cout, and outputFile.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 308 of file TestMixedSource.cc.
References gather_cfg::cout, fileName_, histFile_, histHepMCProduct_bunch_, histPCaloHit_bunch_, histPSimHit_bunchPileups_MuonCSCHits_, histPSimHit_bunchPileups_TrackerHitsTECHighTof_, histPSimHit_bunchSignal_MuonCSCHits_, histPSimHit_bunchSignal_TrackerHitsTECHighTof_, histTrack_bunchPileups_, histTrack_bunchSignal_, histVertex_bunch_, outputFile, edmStreamStallGrapher::t, tofhist_, and tofhist_sig_.
|
private |
Definition at line 59 of file TestMixedSource.h.
|
private |
Definition at line 78 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 58 of file TestMixedSource.h.
Referenced by endJob().
|
private |
Definition at line 82 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 73 of file TestMixedSource.h.
Referenced by endJob().
|
private |
Definition at line 72 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 65 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 71 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 67 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 70 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 66 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 62 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 63 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 64 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 61 of file TestMixedSource.h.
Referenced by TestMixedSource().
|
private |
Definition at line 60 of file TestMixedSource.h.
Referenced by TestMixedSource().
|
private |
Definition at line 76 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 57 of file TestMixedSource.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 80 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 81 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 68 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 69 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 75 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().