CMS 3D CMS Logo

MuonDetIdAssociator.h
Go to the documentation of this file.
1 #ifndef TrackAssociator_MuonDetIdAssociator_h
2 #define TrackAssociator_MuonDetIdAssociator_h 1
3 // -*- C++ -*-
4 //
5 // Package: TrackAssociator
6 // Class: MuonDetIdAssociator
7 //
8 /*
9 
10  Description: <one line class summary>
11 
12  Implementation:
13  <Notes on implementation>
14 */
15 //
16 // Original Author: Dmytro Kovalskyi
17 // Created: Fri Apr 21 10:59:41 PDT 2006
18 //
19 //
20 
28 
30 public:
32  : DetIdAssociator(48, 48, 0.125), geometry_(nullptr), cscbadchambers_(nullptr), includeBadChambers_(false){};
33  MuonDetIdAssociator(const int nPhi, const int nEta, const double etaBinSize)
35  geometry_(nullptr),
36  cscbadchambers_(nullptr),
38 
40  int nEta,
41  double etaBinSize,
43  const CSCBadChambers* badChambers,
44  bool includeBadChambers,
45  bool includeGEM,
46  bool includeME0)
48  geometry_(geom),
49  cscbadchambers_(badChambers),
53 
54  virtual void setGeometry(const GlobalTrackingGeometry* ptr) { geometry_ = ptr; }
55 
56  virtual void setCSCBadChambers(const CSCBadChambers* ptr) { cscbadchambers_ = ptr; }
57 
58  const GeomDet* getGeomDet(const DetId& id) const override;
59 
60  const char* name() const override { return "AllMuonDetectors"; }
61 
62 protected:
63  void check_setup() const override;
64 
65  GlobalPoint getPosition(const DetId& id) const override;
66 
67  void getValidDetIds(unsigned int, std::vector<DetId>&) const override;
68 
69  std::pair<const_iterator, const_iterator> getDetIdPoints(const DetId& id,
70  std::vector<GlobalPoint>& points) const override;
71 
72  bool insideElement(const GlobalPoint& point, const DetId& id) const override;
73 
75 
80 };
81 #endif
MuonDetIdAssociator::getValidDetIds
void getValidDetIds(unsigned int, std::vector< DetId > &) const override
Definition: MuonDetIdAssociator.cc:53
funct::false
false
Definition: Factorize.h:29
GeomDet
Definition: GeomDet.h:27
MuonDetIdAssociator
Definition: MuonDetIdAssociator.h:29
HLT_FULL_cff.points
points
Definition: HLT_FULL_cff.py:21469
HLT_FULL_cff.nEta
nEta
Definition: HLT_FULL_cff.py:6585
MuonDetIdAssociator::setCSCBadChambers
virtual void setCSCBadChambers(const CSCBadChambers *ptr)
Definition: MuonDetIdAssociator.h:56
CSCBadChambers
Definition: CSCBadChambers.h:9
MuonDetIdAssociator::insideElement
bool insideElement(const GlobalPoint &point, const DetId &id) const override
Definition: MuonDetIdAssociator.cc:115
DetId
Definition: DetId.h:17
MuonDetIdAssociator::MuonDetIdAssociator
MuonDetIdAssociator()
Definition: MuonDetIdAssociator.h:31
GlobalTrackingGeometry
Definition: GlobalTrackingGeometry.h:20
DetIdAssociator::etaBinSize
double etaBinSize() const
look-up map bin size in eta dimension
Definition: DetIdAssociator.h:108
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
MuonDetIdAssociator::includeME0_
bool includeME0_
Definition: MuonDetIdAssociator.h:79
Point3DBase< float, GlobalTag >
MuonDetIdAssociator::MuonDetIdAssociator
MuonDetIdAssociator(int nPhi, int nEta, double etaBinSize, const GlobalTrackingGeometry *geom, const CSCBadChambers *badChambers, bool includeBadChambers, bool includeGEM, bool includeME0)
Definition: MuonDetIdAssociator.h:39
MuonDetIdAssociator::MuonDetIdAssociator
MuonDetIdAssociator(const int nPhi, const int nEta, const double etaBinSize)
Definition: MuonDetIdAssociator.h:33
MuonDetIdAssociator::name
const char * name() const override
Definition: MuonDetIdAssociator.h:60
DetIdAssociator
Definition: DetIdAssociator.h:45
MuonDetIdAssociator::geometry_
const GlobalTrackingGeometry * geometry_
Definition: MuonDetIdAssociator.h:74
HLT_FULL_cff.includeME0
includeME0
Definition: HLT_FULL_cff.py:6590
HLT_FULL_cff.nPhi
nPhi
Definition: HLT_FULL_cff.py:6586
MuonDetIdAssociator::check_setup
void check_setup() const override
Definition: MuonDetIdAssociator.cc:31
HLT_FULL_cff.includeBadChambers
includeBadChambers
Definition: HLT_FULL_cff.py:6588
MuonDetIdAssociator::cscbadchambers_
const CSCBadChambers * cscbadchambers_
Definition: MuonDetIdAssociator.h:76
HLT_FULL_cff.includeGEM
includeGEM
Definition: HLT_FULL_cff.py:6589
MuonDetIdAssociator::includeBadChambers_
bool includeBadChambers_
Definition: MuonDetIdAssociator.h:77
GeomDet.h
SteppingHelixStateInfo.h
TAMuonChamberMatch.h
DetId.h
DetIdAssociator.h
MuonDetIdAssociator::setGeometry
virtual void setGeometry(const GlobalTrackingGeometry *ptr)
Definition: MuonDetIdAssociator.h:54
MuonDetIdAssociator::getDetIdPoints
std::pair< const_iterator, const_iterator > getDetIdPoints(const DetId &id, std::vector< GlobalPoint > &points) const override
Definition: MuonDetIdAssociator.cc:122
MuonDetIdAssociator::getPosition
GlobalPoint getPosition(const DetId &id) const override
Definition: MuonDetIdAssociator.cc:48
MuonDetIdAssociator::getGeomDet
const GeomDet * getGeomDet(const DetId &id) const override
Definition: MuonDetIdAssociator.cc:39
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
GlobalTrackingGeometry.h
MuonDetIdAssociator::includeGEM_
bool includeGEM_
Definition: MuonDetIdAssociator.h:78
CSCBadChambers.h