CMS 3D CMS Logo

SiStripCalibLorentzAngle.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripLorentzAngle_SiStripCalibLorentzAngle_h
2 #define CalibTracker_SiStripLorentzAngle_SiStripCalibLorentzAngle_h
3 
4 #include <cstring>
5 #include <iostream>
6 #include <map>
22 #include <TGraph.h>
23 #include <TProfile.h>
24 #include <TStyle.h>
25 #include <TH1D.h>
26 #include <TH2D.h>
27 #include <TF1.h>
28 #include <TFile.h>
29 #include <TTree.h>
30 #include <TGraphErrors.h>
31 #include <TDirectory.h>
32 #include "TROOT.h"
33 #include "Riostream.h"
34 
35 class TrackerTopology;
36 
37 class SiStripCalibLorentzAngle : public ConditionDBWriter<SiStripLorentzAngle>
38 {
39  public:
40 
41  explicit SiStripCalibLorentzAngle(const edm::ParameterSet& conf);
42 
43  ~SiStripCalibLorentzAngle() override;
44 
46 
47  void algoBeginJob(const edm::EventSetup&) override;
48 
49  private:
50 
53 
56 
57  typedef std::map <std::string , TProfile*> ProfileMap;
58  ProfileMap Profiles;
59  typedef std::map <std::string , TH1D*> TH1Dmap;
60  TH1Dmap TH1Ds;
61  typedef std::map <std::string , TH2D*> TH2Dmap;
62  TH2Dmap TH2Ds;
63  std::vector<MonitorElement*> histolist;
64 
66 
70 
72 
74 
76 
77  TGraphErrors *TIB_graph, *TOB_graph;
78 
79  TTree* ModuleTree;
80  TFile *hFile;
81 
84 
85  std::map< uint32_t, float> detid_la;
87 
88 };
89 
90 
91 #endif
std::map< std::string, TH2D * > TH2Dmap
SiStripLorentzAngle * getNewObject() override
SiStripCalibLorentzAngle(const edm::ParameterSet &conf)
std::map< uint32_t, float > detid_la
std::map< std::string, TH1D * > TH1Dmap
const TrackerTopology * tTopo
const TrackerGeometry * tracker
void algoBeginJob(const edm::EventSetup &) override
edm::ESHandle< TrackerGeometry > estracker
std::map< std::string, TProfile * > ProfileMap
edm::ESHandle< MagneticField > magfield_
std::vector< MonitorElement * > histolist