CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
GEMTrackMatch Class Referenceabstract

#include <GEMTrackMatch.h>

Inheritance diagram for GEMTrackMatch:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase GEMDigiTrackMatch GEMRecHitTrackMatch GEMSimTrackMatch

Public Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &)=0
 
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)
 
virtual ~GEMTrackMatch ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual 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
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 ()
 

Protected Attributes

edm::ParameterSet cfg_
 
float chamberHeight_
 
bool detailPlot_
 
std::vector< double > etaRangeForPhi
 
const GEMGeometrygem_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_
 

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)
 

Detailed Description

Definition at line 42 of file GEMTrackMatch.h.

Constructor & Destructor Documentation

GEMTrackMatch::GEMTrackMatch ( const edm::ParameterSet cfg)
explicit

Definition at line 6 of file GEMTrackMatch.cc.

GEMTrackMatch::~GEMTrackMatch ( )
virtual

Definition at line 14 of file GEMTrackMatch.cc.

Member Function Documentation

virtual void GEMTrackMatch::analyze ( const edm::Event e,
const edm::EventSetup  
)
pure virtual
void GEMTrackMatch::buildLUT ( const int  maxChamberId)

Definition at line 140 of file GEMTrackMatch.cc.

void GEMTrackMatch::FillWithTrigger ( MonitorElement me[3],
Float_t  eta 
)

Definition at line 17 of file GEMTrackMatch.cc.

Referenced by GEMSimTrackMatch::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.

void GEMTrackMatch::FillWithTrigger ( MonitorElement me[4][3],
bool  array[3][2],
Float_t  value 
)

Definition at line 41 of file GEMTrackMatch.cc.

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.

std::pair< int, int > GEMTrackMatch::getClosestChambers ( const int  maxChamberId,
int  region,
float  phi 
)

Definition at line 194 of file GEMTrackMatch.cc.

std::pair< double, double > GEMTrackMatch::getEtaRange ( int  station,
int  chamber 
)

Definition at line 96 of file GEMTrackMatch.cc.

std::pair< double, double > GEMTrackMatch::getEtaRangeForPhi ( int  station)

Definition at line 202 of file GEMTrackMatch.cc.

bool GEMTrackMatch::isSimTrackGood ( const SimTrack t)

Definition at line 126 of file GEMTrackMatch.cc.

Referenced by GEMSimTrackMatch::analyze().

void GEMTrackMatch::setGeometry ( const GEMGeometry geom)

Definition at line 166 of file GEMTrackMatch.cc.

Referenced by GEMSimTrackMatch::bookHistograms().

Member Data Documentation

edm::ParameterSet GEMTrackMatch::cfg_
protected
float GEMTrackMatch::chamberHeight_
protected

Definition at line 77 of file GEMTrackMatch.h.

bool GEMTrackMatch::detailPlot_
protected

Definition at line 81 of file GEMTrackMatch.h.

std::vector< double > GEMTrackMatch::etaRangeForPhi
protected

Definition at line 71 of file GEMTrackMatch.h.

const GEMGeometry* GEMTrackMatch::gem_geom_
protected

Definition at line 79 of file GEMTrackMatch.h.

float GEMTrackMatch::maxEta_
protected

Definition at line 76 of file GEMTrackMatch.h.

Referenced by GEMSimTrackMatch::bookHistograms().

float GEMTrackMatch::minEta_
protected

Definition at line 75 of file GEMTrackMatch.h.

Referenced by GEMSimTrackMatch::bookHistograms().

float GEMTrackMatch::minPt_
protected

Definition at line 74 of file GEMTrackMatch.h.

std::pair<std::vector<float>,std::vector<int> > GEMTrackMatch::negativeLUT_
protected

Definition at line 69 of file GEMTrackMatch.h.

unsigned int GEMTrackMatch::nstation
protected

Definition at line 80 of file GEMTrackMatch.h.

Referenced by GEMSimTrackMatch::bookHistograms().

std::pair<std::vector<float>,std::vector<int> > GEMTrackMatch::positiveLUT_
protected

Definition at line 68 of file GEMTrackMatch.h.

float GEMTrackMatch::radiusCenter_
protected

Definition at line 77 of file GEMTrackMatch.h.

edm::EDGetToken GEMTrackMatch::simHitsToken_
protected
edm::EDGetToken GEMTrackMatch::simTracksToken_
protected
edm::EDGetToken GEMTrackMatch::simVerticesToken_
protected
int GEMTrackMatch::useRoll_
protected

Definition at line 78 of file GEMTrackMatch.h.