CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonAlignment.h
Go to the documentation of this file.
1 #ifndef MuonAlignment_H
2 #define MuonAlignment_H
3 
4 
23 
31 
38 
47 
51 
54 
55 namespace edm {
56  class ParameterSet;
57  class EventSetup;
58  class InputTag;
59 }
60 
61 class TH1F;
62 
63 typedef std::vector< std::vector<int> > intDVector;
64 typedef std::vector<TrackingRecHit *> RecHitVector;
65 
66 class MuonAlignment : public edm::EDAnalyzer {
67 public:
68 
71 
73  virtual ~MuonAlignment();
74 
76  void beginJob();
77 
79  void analyze(const edm::Event&, const edm::EventSetup&);
80 
82  void endJob(void);
83 
84 private:
85  // ----------member data ---------------------------
86 
88 
93 
102 
107 
116 
118 
119  // Switch for verbosity
121 
123 
124  // Muon Track Label
126 
128 
130 
132 
133  // residual histos residual range
137 
138  // mean and rms histos ranges
140 
141  // quality cuts for tracks and number of bins for residual histos
143 
144  // flags to decide on subdetector and summary histograms
146 
147  //variables used
148 // Propagator * thePropagator;
149 
150 
151  // Vector of chambers Residuals
152  std::vector<MonitorElement *> unitsLocalX;
153  std::vector<MonitorElement *> unitsLocalPhi;
154  std::vector<MonitorElement *> unitsLocalTheta;
155  std::vector<MonitorElement *> unitsLocalY;
156 
157  // Counters
160 
161  // Top folder in root file
163  std::stringstream topFolder;
164 };
165 #endif
MonitorElement * hLocalPhiRmsDT
Definition: MuonAlignment.h:99
edm::EDGetTokenT< CSCSegmentCollection > theRecHits4DTagCSC
std::vector< MonitorElement * > unitsLocalX
MonitorElement * hLocalPositionRmsDT
Definition: MuonAlignment.h:90
MonitorElement * hLocalThetaMeanCSC
MonitorElement * hLocalYMeanDT
Definition: MuonAlignment.h:96
RecHitVector doMatching(const reco::Track &, edm::Handle< DTRecSegment4DCollection > &, edm::Handle< CSCSegmentCollection > &, intDVector *, intDVector *, edm::ESHandle< GlobalTrackingGeometry > &)
MonitorElement * hLocalPhiRmsCSC
double resLocalYRangeStation2
DQMStore * dbe
Definition: MuonAlignment.h:87
MonitorElement * hLocalYRmsCSC
MonitorElement * hLocalPositionCSC
double resLocalXRangeStation1
MonitorElement * hLocalXMeanDT
Definition: MuonAlignment.h:94
double resLocalYRangeStation1
std::string trackRefitterType
double resPhiRange
MonitorElement * hLocalPhiMeanDT
Definition: MuonAlignment.h:98
void analyze(const edm::Event &, const edm::EventSetup &)
Get the analysis.
edm::EDGetTokenT< reco::TrackCollection > theMuonCollectionLabel
void beginJob()
Inizialize parameters for histo binning.
double meanAngleRange
std::vector< TrackingRecHit * > RecHitVector
MuonAlignment(const edm::EventSetup &iSetup)
double resThetaRange
MonitorElement * hLocalAngleRmsCSC
edm::ParameterSet parameters
std::string MEFolderName
MonitorElement * hLocalAngleRmsDT
Definition: MuonAlignment.h:92
double resLocalXRangeStation2
std::string metname
MonitorElement * hLocalAngleDT
Definition: MuonAlignment.h:91
MonitorElement * hLocalThetaRmsDT
std::vector< MonitorElement * > unitsLocalTheta
MonitorElement * hLocalYRmsDT
Definition: MuonAlignment.h:97
MonitorElement * hLocalThetaRmsCSC
MonitorElement * hLocalXMeanCSC
MonitorElement * hLocalYMeanCSC
unsigned int nbins
std::vector< MonitorElement * > unitsLocalPhi
double rmsPositionRange
std::vector< std::vector< int > > intDVector
double rmsAngleRange
std::vector< MonitorElement * > unitsLocalY
MonitorElement * hLocalPhiMeanCSC
edm::EDGetTokenT< DTRecSegment4DCollection > theRecHits4DTagDT
MonitorElement * hLocalAngleCSC
double resLocalYRangeStation3
MonitorElement * hLocalXRmsDT
Definition: MuonAlignment.h:95
unsigned int min1DTrackRecHitSize
void endJob(void)
Save the histos.
double resLocalYRangeStation4
double meanPositionRange
MonitorElement * hLocalPositionRmsCSC
MonitorElement * hLocalXRmsCSC
unsigned int min4DTrackSegmentSize
std::stringstream topFolder
MonitorElement * hLocalThetaMeanDT
MonitorElement * hLocalPositionDT
Definition: MuonAlignment.h:89
double resLocalXRangeStation4
double resLocalXRangeStation3