|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
| SiPixelPhase1TrackEfficiency (const edm::ParameterSet &conf) |
|
void | analyze (edm::Event const &e, edm::EventSetup const &eSetup) override=0 |
|
void | bookHistograms (DQMStore::IBooker &iBooker, edm::Run const &run, edm::EventSetup const &iSetup) override |
|
| SiPixelPhase1Base (const edm::ParameterSet &iConfig) |
|
| ~SiPixelPhase1Base () override |
|
void | beginRun (edm::Run const &, edm::EventSetup const &) final |
|
void | beginStream (edm::StreamID id) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
void | endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
|
void | endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
|
uint32_t | streamId () const |
|
| EDAnalyzer ()=default |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDAnalyzerBase () override |
|
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 |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
| HistogramManagerHolder (const edm::ParameterSet &iConfig) |
|
|
typedef CacheContexts< T... > | CacheTypes |
|
typedef CacheTypes::GlobalCache | GlobalCache |
|
typedef AbilityChecker< T... > | HasAbility |
|
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
|
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
|
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
|
typedef CacheTypes::RunCache | RunCache |
|
typedef RunContextT< RunCache, GlobalCache > | RunContext |
|
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
|
typedef EDAnalyzerAdaptorBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
|
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
|
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
|
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
enum | { DCS
} |
|
bool | checktrigger (const edm::Event &iEvent, const edm::EventSetup &iSetup, const unsigned trgidx) const |
|
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) |
|
GeometryInterface | geometryInterface |
|
std::vector< HistogramManager > | histo |
|
Definition at line 33 of file SiPixelPhase1TrackEfficiency.cc.
References funct::abs(), applyVertexCut_, SiPixelPhase1Base::checktrigger(), SiPixelPhase1Base::DCS, DEFINE_FWK_MODULE, EFFICIENCY, edm::EventSetup::get(), edm::Event::getByToken(), h, hcalSimParameters_cfi::hb, HistogramManagerHolder::histo, iEvent, INACTIVE, TrackingRecHit::inactive, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), MISSING, TrackingRecHit::missing, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, HiIsolationCommonParameters_cff::track, mixOne_simraw_on_sim_cfi::tracker, l1t::tracks, tracksToken_, VALID, TrackingRecHit::valid, electrons_cff::vertices, VERTICES, and vtxToken_.
45 if (!vertices.isValid())
return;
59 for (
auto const &
track : *tracks) {
64 bool isBpixtrack =
false, isFpixtrack =
false;
70 for(
unsigned int h=0;
h<
track.recHitsSize();
h++){
73 if(!
hit->isValid())
continue;
76 uint32_t subdetid = (
id.subdetId());
89 if (!isBpixtrack && !isFpixtrack)
continue;
92 for(
unsigned int h=0;
h<
track.recHitsSize();
h++){
96 uint32_t subdetid = (
id.subdetId());
136 histo[
VALID ].executePerEventHarvesting(&iEvent);
edm::EDGetTokenT< reco::TrackCollection > tracksToken_
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool checktrigger(const edm::Event &iEvent, const edm::EventSetup &iSetup, const unsigned trgidx) const
Abs< T >::type abs(const T &t)
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
std::vector< HistogramManager > histo