CMS 3D CMS Logo

AlignmentMonitorGeneric.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentMonitor_AlignmentMonitorGeneric_H
2 #define Alignment_CommonAlignmentMonitor_AlignmentMonitorGeneric_H
3 
4 // Package: CommonAlignmentMonitor
5 // Class : AlignmentMonitorGeneric
6 //
7 // Produce histograms generic to all alignment algorithms.
8 //
9 // Histograms defined:
10 // pull of x hit residuals for positively charged tracks on each alignable
11 // pull of x hit residuals for negatively charged tracks on each alignable
12 // pull of y hit residuals for positively charged tracks on each alignable
13 // pull of y hit residuals for negatively charged tracks on each alignable
14 // pt for all tracks
15 // eta for all tracks
16 // phi for all tracks
17 // d0 for all tracks
18 // dz for all tracks
19 // chi2/dof for all tracks
20 //
21 // Original Author: Jim Pivarski
22 // Created: Thu Mar 29 13:59:56 CDT 2007
23 // $Id: AlignmentMonitorGeneric.h,v 1.3 2007/12/04 23:29:26 ratnik Exp $
24 
26 #include "TH1.h"
27 
30 {
31  typedef std::vector<TH1F*> Hist1Ds;
32 
33  public:
34 
36  const edm::ParameterSet&
37  );
38 
39  virtual void book();
40 
41  virtual void event(const edm::Event&,
42  const edm::EventSetup&,
44  );
45 
46  private:
47 
48  static const unsigned int nBin_ = 50;
49 
50  Hist1Ds m_trkHists; // track parameters histograms
51 
52  std::map<const Alignable*, Hist1Ds> m_resHists; // hit residuals histograms
53 };
54 
55 #endif
std::map< const Alignable *, Hist1Ds > m_resHists
std::vector< TH1F * > Hist1Ds
AlignmentMonitorGeneric(const edm::ParameterSet &)
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
virtual void event(const edm::Event &, const edm::EventSetup &, const ConstTrajTrackPairCollection &)
Called for each event (by "run()"): may be reimplemented.
virtual void book()
Book or retrieve histograms; MUST be reimplemented.
static const unsigned int nBin_