#include <TestMixedSource.h>
Public Member Functions | |
TestMixedSource (const edm::ParameterSet &) | |
~TestMixedSource () override | |
Public Member Functions inherited from edm::one::EDAnalyzer<> | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
~EDAnalyzerBase () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
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::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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_, maxbunch_, minbunch_, MuonToken_, SimTrackToken_, SimVertexToken_, GlobalPosition_Frontier_DevDB_cff::tag, tofhist_, tofhist_sig_, and TrackerToken0_.
|
override |
|
overrideprivate |
Definition at line 117 of file TestMixedSource.cc.
References a, b, MixCollection< T >::MixItr::bunch(), EnergyCorrector::c, CaloToken1_, cuy::col, gather_cfg::cout, edmIntegrityCheck::d, MillePedeFileConverter_cfg::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_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 296 of file TestMixedSource.cc.
References gather_cfg::cout, and outputFile.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
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, lumiQTWidget::t, tofhist_, and tofhist_sig_.
|
private |
Definition at line 58 of file TestMixedSource.h.
|
private |
Definition at line 77 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 57 of file TestMixedSource.h.
Referenced by endJob().
|
private |
Definition at line 81 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 72 of file TestMixedSource.h.
Referenced by endJob().
|
private |
Definition at line 71 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 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 69 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 61 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 60 of file TestMixedSource.h.
Referenced by TestMixedSource().
|
private |
Definition at line 59 of file TestMixedSource.h.
Referenced by TestMixedSource().
|
private |
Definition at line 75 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 56 of file TestMixedSource.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 79 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 80 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().
|
private |
Definition at line 67 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 68 of file TestMixedSource.h.
Referenced by analyze(), endJob(), and TestMixedSource().
|
private |
Definition at line 74 of file TestMixedSource.h.
Referenced by analyze(), and TestMixedSource().