test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripLAProfileBooker.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripLorentzAngle_SiStripLAProfileBooker_h
2 #define CalibTracker_SiStripLorentzAngle_SiStripLAProfileBooker_h
3 
4 #include <map>
5 
8 
10 
13 
16 
19 
22 
23 #include <TTree.h>
24 #include <TFile.h>
25 #include <TH1D.h>
26 #include <TDirectory.h>
27 
28 class TrackerTopology;
29 
31 {
32  public:
33 
34  explicit SiStripLAProfileBooker(const edm::ParameterSet& conf);
35 
37 
38  void beginRun(const edm::EventSetup& c);
39 
40  void endJob();
41 
42  void analyze(const edm::Event& e, const edm::EventSetup& c);
43 
44  void getlayer(const DetId & detid, const TrackerTopology* tTopo, std::string &name,unsigned int &layerid);
45 
46  private:
47 
48  typedef struct {float thickness; float pitch; LocalVector magfield;} detparameters;
49  typedef std::map <unsigned int, detparameters*> detparmap;
50  typedef std::map <unsigned int, MonitorElement*> histomap;
51 
57  uint8_t Amplitudes[100];
58 
60  TFile* hFile;
61 
62  TDirectory *Hit_Tree, *Track_Tree, *Event_Tree;
63 
66 
68 
73 
75 
76 };
77 
78 
79 #endif
tuple magfield
Definition: HLT_ES_cff.py:2311
std::map< unsigned int, detparameters * > detparmap
void beginRun(const edm::EventSetup &c)
std::map< unsigned int, MonitorElement * > histomap
void getlayer(const DetId &detid, const TrackerTopology *tTopo, std::string &name, unsigned int &layerid)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: DetId.h:18
SiStripLAProfileBooker(const edm::ParameterSet &conf)
const TrackerGeometry * tracker