#include <GEMSimTrackMatch.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
GEMSimTrackMatch (const edm::ParameterSet &ps) | |
~GEMSimTrackMatch () override | |
Public Member Functions inherited from GEMTrackMatch | |
void | buildLUT (const int maxChamberId) |
void | FillWithTrigger (MonitorElement *me[3], Float_t eta) |
void | FillWithTrigger (MonitorElement *me[3][3], Float_t eta, Float_t phi, bool odd[3], bool even[3]) |
void | FillWithTrigger (MonitorElement *me[4][3], bool array[3][2], Float_t value) |
void | FillWithTrigger (MonitorElement *me[4][3][3], bool array[3][2], Float_t eta, Float_t phi, bool odd[3], bool even[3]) |
GEMTrackMatch (const edm::ParameterSet &cfg) | |
std::pair< int, int > | getClosestChambers (const int maxChamberId, int region, float phi) |
std::pair< double, double > | getEtaRange (int station, int chamber) |
std::pair< double, double > | getEtaRangeForPhi (int station) |
bool | isSimTrackGood (const SimTrack &) |
void | setGeometry (const GEMGeometry &geom) |
~GEMTrackMatch () override | |
Public Member Functions inherited from DQMEDAnalyzer | |
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 |
Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::stream::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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
bool | detailPlot_ |
MonitorElement * | sh_eta [4][3] |
MonitorElement * | sh_phi [4][3][3] |
MonitorElement * | track_eta [3] |
MonitorElement * | track_phi [3][3] |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
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 |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from DQMEDAnalyzer | |
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 Public Member Functions inherited from edm::stream::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) |
Protected Attributes inherited from GEMTrackMatch | |
edm::ParameterSet | cfg_ |
float | chamberHeight_ |
bool | detailPlot_ |
std::vector< double > | etaRangeForPhi |
const GEMGeometry * | gem_geom_ |
float | maxEta_ |
float | minEta_ |
float | minPt_ |
std::pair< std::vector< float >, std::vector< int > > | negativeLUT_ |
unsigned int | nstation |
std::pair< std::vector< float >, std::vector< int > > | positiveLUT_ |
float | radiusCenter_ |
edm::EDGetToken | simHitsToken_ |
edm::EDGetToken | simTracksToken_ |
edm::EDGetToken | simVerticesToken_ |
int | useRoll_ |
Definition at line 7 of file GEMSimTrackMatch.h.
|
explicit |
Definition at line 12 of file GEMSimTrackMatch.cc.
References GEMTrackMatch::cfg_, detailPlot_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), GEMTrackMatch::simHitsToken_, GEMTrackMatch::simTracksToken_, GEMTrackMatch::simVerticesToken_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 74 of file GEMSimTrackMatch.cc.
|
overridevirtual |
Implements GEMTrackMatch.
Definition at line 77 of file GEMSimTrackMatch.cc.
References begin, GEMTrackMatch::cfg_, relativeConstraints::chamber, SimHitMatcher::chamberIdsGEM(), gather_cfg::cout, edmIntegrityCheck::d, detailPlot_, end, MySimTrack::eta, lumiContext::fill, GEMTrackMatch::FillWithTrigger(), MySimTrack::gem_sh, relativeConstraints::geom, edm::EventSetup::get(), edm::Event::getByToken(), MySimTrack::hitEven, MySimTrack::hitOdd, mps_fire::i, triggerObjects_cff::id, GEMTrackMatch::isSimTrackGood(), edm::HandleBase::isValid(), MySimTrack::phi, edm::Handle< T >::product(), MySimTrack::pt, sh_eta, sh_phi, GEMTrackMatch::simHitsToken_, GEMTrackMatch::simTracksToken_, GEMTrackMatch::simVerticesToken_, lumiQTWidget::t, track_eta, and track_phi.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 24 of file GEMSimTrackMatch.cc.
References DQMStore::IBooker::book1D(), GEMDetLabel::c_suffix, detailPlot_, relativeConstraints::geom, edm::EventSetup::get(), mps_fire::i, gen::k, GEMDetLabel::l_suffix, LogDebug, GEMTrackMatch::maxEta_, GEMTrackMatch::minEta_, GEMTrackMatch::nstation, Pi, PI, GEMGeometry::regions(), GEMDetLabel::s_suffix, DQMStore::IBooker::setCurrentFolder(), GEMTrackMatch::setGeometry(), sh_eta, sh_phi, AlCaHLTBitMon_QueryRunRegistry::string, createPayload::suffix, track_eta, and track_phi.
|
private |
Definition at line 23 of file GEMSimTrackMatch.h.
Referenced by analyze(), bookHistograms(), and GEMSimTrackMatch().
|
private |
Definition at line 18 of file GEMSimTrackMatch.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 19 of file GEMSimTrackMatch.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 16 of file GEMSimTrackMatch.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 17 of file GEMSimTrackMatch.h.
Referenced by analyze(), and bookHistograms().