CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignmentMonitorMuonSystemMap1D.cc
Go to the documentation of this file.
1 /*
2  * Package: CommonAlignmentProducer
3  * Class : AlignmentMonitorMuonSystemMap1D
4  *
5  * Original Author: Jim Pivarski
6  * Created: Mon Nov 12 13:30:14 CST 2007
7  *
8  * $Id: AlignmentMonitorMuonSystemMap1D.cc,v 1.6 2011/10/12 22:59:47 khotilov Exp $
9  */
10 
14 
23 
24 #include "TH1F.h"
25 #include "TH2F.h"
26 
27 
29 {
30 public:
33 
34  void book();
35 
36  void event(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection& iTrajTracks);
38 
39  void afterAlignment(const edm::EventSetup &iSetup);
40 
41 private:
42 
43  // parameters
45  double m_minTrackPt;
46  double m_maxTrackPt;
47  double m_minTrackP;
48  double m_maxTrackP;
49  double m_maxDxy;
57  bool m_doDT;
58  bool m_doCSC;
61 
62  // counter
73 
74  // histogram helper
76  {
77  public:
78  MuonSystemMapPlot1D(std::string name, AlignmentMonitorMuonSystemMap1D *module, int bins, double low, double high, bool xy, bool add_1d);
79 
80  void fill_x_1d(double residx, double chi2, int dof);
81  void fill_x(char charge, double abscissa, double residx, double chi2, int dof);
82  void fill_y(char charge, double abscissa, double residy, double chi2, int dof);
83  void fill_dxdz(char charge, double abscissa, double slopex, double chi2, int dof);
84  void fill_dydz(char charge, double abscissa, double slopey, double chi2, int dof);
85 
86  private:
88  int m_bins;
89  bool m_xy;
90  bool m_1d;
91  TH1F *m_x_1d;
93  };
94 
95  MuonSystemMapPlot1D *m_DTvsz_station[4][14]; // [station][sector]
96  MuonSystemMapPlot1D *m_CSCvsr_me[2][4][36]; // [endcap][station][chamber]
97  MuonSystemMapPlot1D *m_DTvsphi_station[4][5];// [station][wheel]
98  MuonSystemMapPlot1D *m_CSCvsphi_me[2][4][3]; // [endcap][station][ring]
99 
100  std::vector<MuonSystemMapPlot1D*> m_plots;
101 
102  std::string num02d(int num);
103 
104  // optional debug ntuple
105  TTree *m_cscnt;
106 
107  struct MyCSCDetId
108  {
109  void init(CSCDetId &id)
110  {
111  e = id.endcap();
112  s = id.station();
113  r = id.ring();
114  c = id.chamber();
115  t = id.iChamberType();
116  }
117  Short_t e, s, r, c;
118  Short_t t; // type 1-10: ME1/a,1/b,1/2,1/3,2/1...4/2
119  };
121 
122  struct MyTrack
123  {
124  Int_t q;
125  Float_t pt, pz;
126  };
128 
129  struct MyResidual
130  {
131  Float_t res, slope, rho, phi, z;
132  };
134 
136 };
137 
138 
139 
141  : AlignmentMonitorBase(cfg, "AlignmentMonitorMuonSystemMap1D")
142  , m_muonCollectionTag(cfg.getParameter<edm::InputTag>("muonCollectionTag"))
143  , m_minTrackPt(cfg.getParameter<double>("minTrackPt"))
144  , m_maxTrackPt(cfg.getParameter<double>("maxTrackPt"))
145  , m_minTrackP(cfg.getParameter<double>("minTrackP"))
146  , m_maxTrackP(cfg.getParameter<double>("maxTrackP"))
147  , m_maxDxy(cfg.getParameter<double>("maxDxy"))
148  , m_minTrackerHits(cfg.getParameter<int>("minTrackerHits"))
149  , m_maxTrackerRedChi2(cfg.getParameter<double>("maxTrackerRedChi2"))
150  , m_allowTIDTEC(cfg.getParameter<bool>("allowTIDTEC"))
151  , m_minNCrossedChambers(cfg.getParameter<int>("minNCrossedChambers"))
152  , m_minDT13Hits(cfg.getParameter<int>("minDT13Hits"))
153  , m_minDT2Hits(cfg.getParameter<int>("minDT2Hits"))
154  , m_minCSCHits(cfg.getParameter<int>("minCSCHits"))
155  , m_doDT(cfg.getParameter<bool>("doDT"))
156  , m_doCSC(cfg.getParameter<bool>("doCSC"))
157  , m_useStubPosition(cfg.getParameter<bool>("useStubPosition"))
158  , m_createNtuple(cfg.getParameter<bool>("createNtuple"))
159 {
160  if (m_createNtuple)
161  {
163  m_cscnt = fs->make<TTree>("mualNtuple", "mualNtuple");
164  m_cscnt->Branch("id", &m_id.e,"e/S:s:r:c:t");
165  m_cscnt->Branch("tr", &m_tr.q,"q/I:pt/F:pz");
166  m_cscnt->Branch("re", &m_re.res, "res/F:slope:rho:phi:z");
167  m_cscnt->Branch("run", &m_run, "run/i");
168  }
169 }
170 
171 
173 {
174  assert(num>=0 && num <100);
175  char tmp[4];
176  sprintf(tmp, "%02d", num);
177  return std::string(tmp);
178 }
179 
180 
182 {
183  std::string wheel_label[5]={"A","B","C","D","E"};
184 
185  for (int station = 1; station<=4; station++)
186  {
187  char c_station[4];
188  sprintf(c_station, "%d", station);
189  std::string s_station(c_station);
190 
191  bool do_y = true;
192  if (station==4) do_y = false;
193 
194  // *** DT ***
195  if (m_doDT) for (int sector = 1; sector <= 14; sector++)
196  {
197  if ((station<4 && sector <= 12) || station==4)
198  {
199  m_DTvsz_station[station-1][sector-1] =
200  new MuonSystemMapPlot1D("DTvsz_st" + s_station + "sec" + num02d(sector), this, 60, -660., 660., do_y,false);
201  m_plots.push_back(m_DTvsz_station[station-1][sector-1]);
202  }
203  }
204 
205  if (m_doDT) for (int wheel = -2; wheel <= 2; wheel++)
206  {
207  m_DTvsphi_station[station-1][wheel+2] =
208  new MuonSystemMapPlot1D("DTvsphi_st" + s_station + "wh" + wheel_label[wheel+2], this, 180, -M_PI, M_PI, do_y, false);
209  m_plots.push_back(m_DTvsphi_station[station-1][wheel+2]);
210  }
211 
212  // *** CSC ***
213  if (m_doCSC) for (int endcap = 1; endcap <= 2; endcap++)
214  {
215  std::string s_endcap("m");
216  if (endcap == 1) s_endcap = "p";
217 
218  for (int chamber = 1; chamber <= 36; chamber++)
219  {
220  m_CSCvsr_me[endcap-1][station-1][chamber-1] =
221  new MuonSystemMapPlot1D("CSCvsr_me" + s_endcap + s_station +"ch" + num02d(chamber), this, 60, 100., 700., false, false);
222  m_plots.push_back(m_CSCvsr_me[endcap-1][station-1][chamber-1]);
223  }
224 
225  for (int ring = 1; ring <= 3; ring++) // the ME1/a (ring4) is not independent from ME1/b (ring1)
226  {
227  char c_ring[4];
228  sprintf(c_ring, "%d", ring);
229  std::string s_ring(c_ring);
230  if ( (station>1 && ring<=2) || station==1)
231  {
232  m_CSCvsphi_me[endcap-1][station-1][ring-1] =
233  new MuonSystemMapPlot1D("CSCvsphi_me" + s_endcap + s_station + s_ring, this, 180, -M_PI/180.*5., M_PI*(2.-5./180.), false, true);
234  m_plots.push_back(m_CSCvsphi_me[endcap-1][station-1][ring-1]);
235  }
236  }
237  } // endcaps
238  } // stations
239 
240  m_counter_event = 0;
241  m_counter_track = 0;
243  m_counter_trackdxy = 0;
245  m_counter_dt = 0;
247  m_counter_2numhits = 0;
248  m_counter_csc = 0;
250 }
251 
252 
254 {
255  m_counter_event++;
256 
258  iSetup.get<GlobalTrackingGeometryRecord>().get(globalGeometry);
259 
261  iEvent.getByLabel(m_beamSpotTag, beamSpot);
262 
263  if (m_muonCollectionTag.label().empty()) // use trajectories
264  {
265  for (ConstTrajTrackPairCollection::const_iterator trajtrack = trajtracks.begin(); trajtrack != trajtracks.end(); ++trajtrack)
266  {
267  m_counter_track++;
268  const Trajectory* traj = (*trajtrack).first;
269  const reco::Track* track = (*trajtrack).second;
270 
271  if (m_minTrackPt < track->pt() && track->pt() < m_maxTrackPt && m_minTrackP < track->p() && track->p() < m_maxTrackP)
272  {
274  if ( fabs(track->dxy(beamSpot->position())) < m_maxDxy )
275  {
277 
278  MuonResidualsFromTrack muonResidualsFromTrack(globalGeometry, traj, track, pNavigator(), 1000.);
279  processMuonResidualsFromTrack(muonResidualsFromTrack, iEvent);
280  }
281  } // end if track has acceptable momentum
282  } // end loop over tracks
283  }
284  else
285  {
287  iEvent.getByLabel(m_muonCollectionTag, muons);
288 
289  for (reco::MuonCollection::const_iterator muon = muons->begin(); muon != muons->end(); ++muon)
290  {
291  if ( !(muon->isTrackerMuon() && muon->innerTrack().isNonnull() ) ) continue;
292 
293  m_counter_track++;
294 
295  if (m_minTrackPt < muon->pt() && muon->pt() < m_maxTrackPt && m_minTrackP < muon->p() && muon->p() < m_maxTrackP )
296  {
298  if (fabs(muon->innerTrack()->dxy(beamSpot->position())) < m_maxDxy)
299  {
301 
302  MuonResidualsFromTrack muonResidualsFromTrack(globalGeometry, &(*muon), pNavigator(), 100.);
303  processMuonResidualsFromTrack(muonResidualsFromTrack, iEvent);
304  }
305  }
306  }
307  }
308 }
309 
310 
312 {
313  if (mrft.trackerNumHits() < m_minTrackerHits) return;
314  if (!m_allowTIDTEC && mrft.contains_TIDTEC()) return;
315  if (mrft.normalizedChi2() > m_maxTrackerRedChi2) return;
316 
317  int nMuChambers = 0;
318  std::vector<DetId> chamberIds = mrft.chamberIds();
319  for (unsigned ch=0; ch < chamberIds.size(); ch++) if (chamberIds[ch].det() == DetId::Muon) nMuChambers++;
320  if (nMuChambers < m_minNCrossedChambers ) return;
321 
322  char charge = (mrft.getTrack()->charge() > 0 ? 1 : -1);
323  // double qoverpt = track->charge() / track->pt();
324  // double qoverpz = track->charge() / track->pz();
325 
327 
328  for (std::vector<DetId>::const_iterator chamberId = chamberIds.begin(); chamberId != chamberIds.end(); ++chamberId)
329  {
330  if (chamberId->det() != DetId::Muon ) continue;
331 
332  if (m_doDT && chamberId->subdetId() == MuonSubdetId::DT)
333  {
336  DTChamberId id(chamberId->rawId());
337 
338  m_counter_dt++;
339 
340  if (id.station() < 4 && dt13 != NULL && dt13->numHits() >= m_minDT13Hits && dt2 != NULL && dt2->numHits() >= m_minDT2Hits)
341  {
343 
344  double residual = dt13->global_residual();
345  double resslope = dt13->global_resslope();
346  double chi2 = dt13->chi2();
347  int dof = dt13->ndof();
348 
349  align::GlobalPoint gpos;
350  if (m_useStubPosition) gpos = dt13->global_stubpos();
351  else gpos = dt13->global_trackpos();
352  double phi = atan2(gpos.y(), gpos.x());
353  double z = gpos.z();
354 
355  assert(1 <= id.sector() && id.sector() <= 14);
356 
357  m_DTvsz_station[id.station()-1][id.sector()-1]->fill_x(charge, z, residual, chi2, dof);
358  m_DTvsz_station[id.station()-1][id.sector()-1]->fill_dxdz(charge, z, resslope, chi2, dof);
359  m_DTvsphi_station[id.station()-1][id.wheel()+2]->fill_x(charge, phi, residual, chi2, dof);
360  m_DTvsphi_station[id.station()-1][id.wheel()+2]->fill_dxdz(charge, phi, resslope, chi2, dof);
361 
363 
364  residual = dt2->global_residual();
365  resslope = dt2->global_resslope();
366  chi2 = dt2->chi2();
367  dof = dt2->ndof();
368 
369  if (m_useStubPosition) gpos = dt2->global_stubpos();
370  else gpos = dt2->global_trackpos();
371  phi = atan2(gpos.y(), gpos.x());
372  z = gpos.z();
373 
374  assert(1 <= id.sector() && id.sector() <= 14);
375 
376  m_DTvsz_station[id.station()-1][id.sector()-1]->fill_y(charge, z, residual, chi2, dof);
377  m_DTvsz_station[id.station()-1][id.sector()-1]->fill_dydz(charge, z, resslope, chi2, dof);
378  m_DTvsphi_station[id.station()-1][id.wheel()+2]->fill_y(charge, phi, residual, chi2, dof);
379  m_DTvsphi_station[id.station()-1][id.wheel()+2]->fill_dydz(charge, phi, resslope, chi2, dof);
380  }
381 
382  if (id.station() == 4 && dt13 != NULL && dt13->numHits() >= m_minDT13Hits)
383  {
385 
386  double residual = dt13->global_residual();
387  double resslope = dt13->global_resslope();
388  double chi2 = dt13->chi2();
389  int dof = dt13->ndof();
390 
391  align::GlobalPoint gpos;
392  if (m_useStubPosition) gpos = dt13->global_stubpos();
393  else gpos = dt13->global_trackpos();
394  double phi = atan2(gpos.y(), gpos.x());
395  double z = gpos.z();
396 
397  assert(1 <= id.sector() && id.sector() <= 14);
398 
399  m_DTvsz_station[id.station()-1][id.sector()-1]->fill_x(charge, z, residual, chi2, dof);
400  m_DTvsz_station[id.station()-1][id.sector()-1]->fill_dxdz(charge, z, resslope, chi2, dof);
401  m_DTvsphi_station[id.station()-1][id.wheel()+2]->fill_x(charge, phi, residual, chi2, dof);
402  m_DTvsphi_station[id.station()-1][id.wheel()+2]->fill_dxdz(charge, phi, resslope, chi2, dof);
403  }
404  }
405 
406  else if (m_doCSC && chamberId->subdetId() == MuonSubdetId::CSC)
407  {
409  CSCDetId id(chamberId->rawId());
410 
411  int ring = id.ring();
412  if (id.ring()==4) ring = 1; // combine ME1/a + ME1/b
413 
414  m_counter_csc++;
415 
416  if (csc != NULL && csc->numHits() >= m_minCSCHits)
417  {
419 
420  double residual = csc->global_residual();
421  double resslope = csc->global_resslope();
422  double chi2 = csc->chi2();
423  int dof = csc->ndof();
424 
425  align::GlobalPoint gpos;
426  if (m_useStubPosition) gpos = csc->global_stubpos();
427  else gpos = csc->global_trackpos();
428  double phi = atan2(gpos.y(), gpos.x());
429  // start phi from -5deg
430  if (phi<-M_PI/180.*5.) phi += 2.*M_PI;
431  double R = sqrt(pow(gpos.x(), 2) + pow(gpos.y(), 2));
432 
433  int chamber = id.chamber() - 1;
434  if (id.station() > 1 && ring == 1) chamber *= 2;
435 
436  assert(1 <= id.endcap() && id.endcap() <= 2 && 0 <= chamber && chamber <= 35);
437 
438  if (R>0.) m_CSCvsphi_me[id.endcap()-1][id.station()-1][ring-1]->fill_x_1d(residual/R, chi2, dof);
439 
440  m_CSCvsr_me[id.endcap()-1][id.station()-1][chamber]->fill_x(charge, R, residual, chi2, dof);
441  m_CSCvsr_me[id.endcap()-1][id.station()-1][chamber]->fill_dxdz(charge, R, resslope, chi2, dof);
442  m_CSCvsphi_me[id.endcap()-1][id.station()-1][ring-1]->fill_x(charge, phi, residual, chi2, dof);
443  m_CSCvsphi_me[id.endcap()-1][id.station()-1][ring-1]->fill_dxdz(charge, phi, resslope, chi2, dof);
444 
445  if (m_createNtuple && chi2 > 0.)// && TMath::Prob(chi2, dof) < 0.95)
446  {
447  m_id.init(id);
448  m_tr.q = charge;
449  m_tr.pt = mrft.getTrack()->pt();
450  m_tr.pz = mrft.getTrack()->pz();
451  m_re.res = residual;
452  m_re.slope = resslope;
453  m_re.rho = R;
454  m_re.phi = phi;
455  m_re.z = gpos.z();
456  m_run = iEvent.id().run();
457  m_cscnt->Fill();
458  }
459 
460  }
461  }
462 
463  //else { assert(false); }
464  } // end loop over chambers
465 }
466 
467 
469 {
470  std::cout << "AlignmentMonitorMuonSystemMap1D counters:"<<std::endl;
471  std::cout << " monitor m_counter_event = " << m_counter_event << std::endl;
472  std::cout << " monitor m_counter_track = " << m_counter_track << std::endl;
473  std::cout << " monitor m_counter_trackppt = " << m_counter_trackmoment << std::endl;
474  std::cout << " monitor m_counter_trackdxy = " << m_counter_trackdxy << std::endl;
475  std::cout << " monitor m_counter_trackokay = " << m_counter_trackokay << std::endl;
476  std::cout << " monitor m_counter_dt = " << m_counter_dt << std::endl;
477  std::cout << " monitor m_counter_13numhits = " << m_counter_13numhits << std::endl;
478  std::cout << " monitor m_counter_2numhits = " << m_counter_2numhits << std::endl;
479  std::cout << " monitor m_counter_csc = " << m_counter_csc << std::endl;
480  std::cout << " monitor m_counter_cscnumhits = " << m_counter_cscnumhits << std::endl;
481 }
482 
483 
485  : m_name(name), m_bins(bins), m_xy(xy), m_1d(add_1d)
486 {
488  std::stringstream name_x_2d, name_y_2d, name_dxdz_2d, name_dydz_2d;
489  name_x_2d << m_name << "_x_2d";
490  name_y_2d << m_name << "_y_2d";
491  name_dxdz_2d << m_name << "_dxdz_2d";
492  name_dydz_2d << m_name << "_dydz_2d";
493 
494  const int nbins = 200;
495  const double window = 100.;
496 
497  m_x_2d = module->book2D("/iterN/", name_x_2d.str().c_str(), "", m_bins, low, high, nbins, -window, window);
498  if (m_xy) m_y_2d = module->book2D("/iterN/", name_y_2d.str().c_str(), "", m_bins, low, high, nbins, -window, window);
499  m_dxdz_2d = module->book2D("/iterN/", name_dxdz_2d.str().c_str(), "", m_bins, low, high, nbins, -window, window);
500  if (m_xy) m_dydz_2d = module->book2D("/iterN/", name_dydz_2d.str().c_str(), "", m_bins, low, high, nbins, -window, window);
501 
502  m_x_1d = NULL;
503  if (m_1d) {
504  std::stringstream name_x_1d;//, name_y_1d, name_dxdz_1d, name_dydz_1d;
505  name_x_1d << m_name << "_x_1d";
506  m_x_1d = module->book1D("/iterN/", name_x_1d.str().c_str(), "", nbins, -window, window);
507  }
508 }
509 
510 
512 {
513  if (m_1d && chi2 > 0.) {
514  // assume that residx was in radians
515  double residual = residx * 1000.;
516  m_x_1d->Fill(residual);
517  }
518 }
519 
520 
521 void AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_x(char charge, double abscissa, double residx, double chi2, int dof)
522 {
523  if (chi2 > 0.) {
524  double residual = residx * 10.;
525  //double weight = dof / chi2;
526  m_x_2d->Fill(abscissa, residual);
527  }
528 }
529 
530 
531 void AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_y(char charge, double abscissa, double residy, double chi2, int dof)
532 {
533  if (m_xy && chi2 > 0.) {
534  double residual = residy * 10.;
535  //double weight = dof / chi2;
536  m_y_2d->Fill(abscissa, residual);
537  }
538 }
539 
540 
541 void AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_dxdz(char charge, double abscissa, double slopex, double chi2, int dof)
542 {
543  if (chi2 > 0.) {
544  double residual = slopex * 1000.;
545  //double weight = dof / chi2;
546  m_dxdz_2d->Fill(abscissa, residual);
547  }
548 }
549 
550 
551 void AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_dydz(char charge, double abscissa, double slopey, double chi2, int dof)
552 {
553  if (m_xy && chi2 > 0.) {
554  double residual = slopey * 1000.;
555  //double weight = dof / chi2;
556  m_dydz_2d->Fill(abscissa, residual);
557  }
558 }
559 
560 
RunNumber_t run() const
Definition: EventID.h:42
double p() const
momentum vector magnitude
Definition: TrackBase.h:129
AlignableNavigator * pNavigator()
def window
Definition: svgfig.py:642
void fill_x(char charge, double abscissa, double residx, double chi2, int dof)
void fill_dydz(char charge, double abscissa, double slopey, double chi2, int dof)
void fill_y(char charge, double abscissa, double residy, double chi2, int dof)
align::GlobalPoint global_trackpos()
TH2F * book2D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
T y() const
Definition: PV3DBase.h:63
#define NULL
Definition: scimark2.h:8
MuonSystemMapPlot1D * m_CSCvsr_me[2][4][36]
MuonSystemMapPlot1D * m_CSCvsphi_me[2][4][3]
double global_residual() const
double charge(const std::vector< uint8_t > &Ampls)
float float float z
void event(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks)
Called for each event (by &quot;run()&quot;): may be reimplemented.
const std::vector< DetId > chamberIds() const
int iEvent
Definition: GenABIO.cc:243
static const int CSC
Definition: MuonSubdetId.h:15
T sqrt(T t)
Definition: SSEVec.h:48
double pt() const
track transverse momentum
Definition: TrackBase.h:131
void book()
Book or retrieve histograms; MUST be reimplemented.
T z() const
Definition: PV3DBase.h:64
const reco::Track * getTrack()
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
const edm::InputTag m_beamSpotTag
void afterAlignment(const edm::EventSetup &iSetup)
TH1F * book1D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
double pz() const
z coordinate of momentum vector
Definition: TrackBase.h:137
void fill_dxdz(char charge, double abscissa, double slopex, double chi2, int dof)
unsigned int UInt_t
Definition: FUTypes.h:12
#define M_PI
Definition: BFit3D.cc:3
const T & get() const
Definition: EventSetup.h:55
long long int num
Definition: procUtils.cc:71
align::GlobalPoint global_stubpos()
std::vector< MuonSystemMapPlot1D * > m_plots
std::string const & label() const
Definition: InputTag.h:42
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
edm::EventID id() const
Definition: EventBase.h:56
tuple muons
Definition: patZpeak.py:38
MuonSystemMapPlot1D(std::string name, AlignmentMonitorMuonSystemMap1D *module, int bins, double low, double high, bool xy, bool add_1d)
T * make() const
make new ROOT object
double global_resslope() const
tuple cout
Definition: gather_cfg.py:121
int charge() const
track electric charge
Definition: TrackBase.h:113
#define DEFINE_EDM_PLUGIN(factory, type, name)
static const int DT
Definition: MuonSubdetId.h:14
void processMuonResidualsFromTrack(MuonResidualsFromTrack &mrft, const edm::Event &iEvent)
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...
Definition: TrackBase.h:121
T x() const
Definition: PV3DBase.h:62
Definition: vlib.h:209
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
AlignmentMonitorMuonSystemMap1D(const edm::ParameterSet &cfg)
Definition: DDAxes.h:10
MuonChamberResidual * chamberResidual(DetId chamberId, int type)