#include <GEMTrackMatch.h>
Protected Attributes | |
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_ |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
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 42 of file GEMTrackMatch.h.
|
explicit |
Definition at line 6 of file GEMTrackMatch.cc.
References edm::ParameterSet::getUntrackedParameter(), maxEta_, minEta_, and minPt_.
|
override |
Definition at line 14 of file GEMTrackMatch.cc.
|
overridepure virtual |
Implemented in GEMRecHitTrackMatch, GEMDigiTrackMatch, and GEMSimTrackMatch.
void GEMTrackMatch::buildLUT | ( | const int | maxChamberId | ) |
Definition at line 140 of file GEMTrackMatch.cc.
References GEMGeometry::chambers(), gem_geom_, negativeLUT_, and positiveLUT_.
Referenced by setGeometry().
void GEMTrackMatch::FillWithTrigger | ( | MonitorElement * | me[3], |
Float_t | eta | ||
) |
Definition at line 17 of file GEMTrackMatch.cc.
References MonitorElement::Fill(), mps_fire::i, and nstation.
Referenced by GEMSimTrackMatch::analyze(), GEMDigiTrackMatch::analyze(), and GEMRecHitTrackMatch::analyze().
void GEMTrackMatch::FillWithTrigger | ( | MonitorElement * | me[3][3], |
Float_t | eta, | ||
Float_t | phi, | ||
bool | odd[3], | ||
bool | even[3] | ||
) |
Definition at line 25 of file GEMTrackMatch.cc.
References MonitorElement::Fill(), plotBeamSpotDB::first, getEtaRange(), mps_fire::i, nstation, edm::second(), and relativeConstraints::station.
void GEMTrackMatch::FillWithTrigger | ( | MonitorElement * | me[4][3], |
bool | array[3][2], | ||
Float_t | value | ||
) |
Definition at line 41 of file GEMTrackMatch.cc.
References MonitorElement::Fill(), mps_fire::i, and nstation.
void GEMTrackMatch::FillWithTrigger | ( | MonitorElement * | me[4][3][3], |
bool | array[3][2], | ||
Float_t | eta, | ||
Float_t | phi, | ||
bool | odd[3], | ||
bool | even[3] | ||
) |
Definition at line 52 of file GEMTrackMatch.cc.
References MonitorElement::Fill(), plotBeamSpotDB::first, getEtaRange(), mps_fire::i, nstation, edm::second(), and relativeConstraints::station.
std::pair< int, int > GEMTrackMatch::getClosestChambers | ( | const int | maxChamberId, |
int | region, | ||
float | phi | ||
) |
Definition at line 202 of file GEMTrackMatch.cc.
References negativeLUT_, phi, positiveLUT_, and pileupCalc::upper.
std::pair< double, double > GEMTrackMatch::getEtaRange | ( | int | station, |
int | chamber | ||
) |
Definition at line 96 of file GEMTrackMatch.cc.
References GEMGeometry::chambers(), gather_cfg::cout, and gem_geom_.
Referenced by FillWithTrigger().
std::pair< double, double > GEMTrackMatch::getEtaRangeForPhi | ( | int | station | ) |
bool GEMTrackMatch::isSimTrackGood | ( | const SimTrack & | t | ) |
Definition at line 126 of file GEMTrackMatch.cc.
References funct::abs(), PVValHelper::eta, maxEta_, minEta_, minPt_, CoreSimTrack::momentum(), SimTrack::noGenpart(), SimTrack::noVertex(), and CoreSimTrack::type().
Referenced by GEMSimTrackMatch::analyze(), GEMDigiTrackMatch::analyze(), and GEMRecHitTrackMatch::analyze().
void GEMTrackMatch::setGeometry | ( | const GEMGeometry & | geom | ) |
Definition at line 177 of file GEMTrackMatch.cc.
References buildLUT(), chamberHeight_, GEMGeometry::chambers(), gem_geom_, relativeConstraints::geom, GEMGeometry::idToDetUnit(), PV3DBase< T, PVType, FrameType >::perp(), radiusCenter_, GEMGeometry::regions(), GEMEtaPartitionSpecs::specificTopology(), GEMEtaPartition::specs(), StripTopology::stripLength(), and useRoll_.
Referenced by GEMSimTrackMatch::bookHistograms(), GEMDigiTrackMatch::bookHistograms(), and GEMRecHitTrackMatch::bookHistograms().
|
protected |
Definition at line 63 of file GEMTrackMatch.h.
Referenced by GEMSimTrackMatch::analyze(), GEMDigiTrackMatch::analyze(), GEMRecHitTrackMatch::analyze(), GEMDigiTrackMatch::GEMDigiTrackMatch(), GEMRecHitTrackMatch::GEMRecHitTrackMatch(), and GEMSimTrackMatch::GEMSimTrackMatch().
|
protected |
Definition at line 77 of file GEMTrackMatch.h.
Referenced by setGeometry().
|
protected |
Definition at line 81 of file GEMTrackMatch.h.
Referenced by GEMDigiTrackMatch::analyze(), GEMDigiTrackMatch::bookHistograms(), GEMDigiTrackMatch::GEMDigiTrackMatch(), and GEMRecHitTrackMatch::GEMRecHitTrackMatch().
|
protected |
Definition at line 71 of file GEMTrackMatch.h.
Referenced by getEtaRangeForPhi().
|
protected |
Definition at line 79 of file GEMTrackMatch.h.
Referenced by buildLUT(), getEtaRange(), and setGeometry().
|
protected |
Definition at line 76 of file GEMTrackMatch.h.
Referenced by GEMSimTrackMatch::bookHistograms(), GEMDigiTrackMatch::bookHistograms(), GEMRecHitTrackMatch::bookHistograms(), GEMTrackMatch(), and isSimTrackGood().
|
protected |
Definition at line 75 of file GEMTrackMatch.h.
Referenced by GEMSimTrackMatch::bookHistograms(), GEMDigiTrackMatch::bookHistograms(), GEMRecHitTrackMatch::bookHistograms(), GEMTrackMatch(), and isSimTrackGood().
|
protected |
Definition at line 74 of file GEMTrackMatch.h.
Referenced by GEMTrackMatch(), and isSimTrackGood().
|
protected |
Definition at line 69 of file GEMTrackMatch.h.
Referenced by buildLUT(), and getClosestChambers().
|
protected |
Definition at line 80 of file GEMTrackMatch.h.
Referenced by GEMSimTrackMatch::bookHistograms(), GEMDigiTrackMatch::bookHistograms(), GEMRecHitTrackMatch::bookHistograms(), and FillWithTrigger().
|
protected |
Definition at line 68 of file GEMTrackMatch.h.
Referenced by buildLUT(), and getClosestChambers().
|
protected |
Definition at line 77 of file GEMTrackMatch.h.
Referenced by setGeometry().
|
protected |
Definition at line 64 of file GEMTrackMatch.h.
Referenced by GEMSimTrackMatch::analyze(), GEMDigiTrackMatch::analyze(), GEMRecHitTrackMatch::analyze(), GEMDigiTrackMatch::GEMDigiTrackMatch(), GEMRecHitTrackMatch::GEMRecHitTrackMatch(), and GEMSimTrackMatch::GEMSimTrackMatch().
|
protected |
Definition at line 65 of file GEMTrackMatch.h.
Referenced by GEMSimTrackMatch::analyze(), GEMDigiTrackMatch::analyze(), GEMRecHitTrackMatch::analyze(), GEMDigiTrackMatch::GEMDigiTrackMatch(), GEMRecHitTrackMatch::GEMRecHitTrackMatch(), and GEMSimTrackMatch::GEMSimTrackMatch().
|
protected |
Definition at line 66 of file GEMTrackMatch.h.
Referenced by GEMSimTrackMatch::analyze(), GEMDigiTrackMatch::analyze(), GEMRecHitTrackMatch::analyze(), GEMDigiTrackMatch::GEMDigiTrackMatch(), GEMRecHitTrackMatch::GEMRecHitTrackMatch(), and GEMSimTrackMatch::GEMSimTrackMatch().
|
protected |
Definition at line 78 of file GEMTrackMatch.h.
Referenced by setGeometry().