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 #include <memory>
36 
37 class TrackerTopology;
38 
39 class SiStripCalibLorentzAngle : public ConditionDBWriter<SiStripLorentzAngle>
40 {
41  public:
42 
43  explicit SiStripCalibLorentzAngle(const edm::ParameterSet& conf);
44 
45  ~SiStripCalibLorentzAngle() override;
46 
47  std::unique_ptr<SiStripLorentzAngle> getNewObject() override;
48 
49  void algoBeginJob(const edm::EventSetup&) override;
50 
51  private:
52 
55 
58 
59  typedef std::map <std::string , TProfile*> ProfileMap;
60  ProfileMap Profiles;
61  typedef std::map <std::string , TH1D*> TH1Dmap;
62  TH1Dmap TH1Ds;
63  typedef std::map <std::string , TH2D*> TH2Dmap;
64  TH2Dmap TH2Ds;
65  std::vector<MonitorElement*> histolist;
66 
68 
72 
74 
76 
78 
79  TGraphErrors *TIB_graph, *TOB_graph;
80 
81  TTree* ModuleTree;
82  TFile *hFile;
83 
86 
87  std::map< uint32_t, float> detid_la;
89 
90 };
91 
92 
93 #endif
std::map< std::string, TH2D * > TH2Dmap
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::unique_ptr< SiStripLorentzAngle > getNewObject() override
std::vector< MonitorElement * > histolist