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>
20 #include <TGraph.h>
21 #include <TProfile.h>
22 #include <TStyle.h>
23 #include <TH1D.h>
24 #include <TH2D.h>
25 #include <TF1.h>
26 #include <TFile.h>
27 #include <TTree.h>
28 #include <TGraphErrors.h>
29 #include <TDirectory.h>
30 #include "TROOT.h"
31 #include "Riostream.h"
32 
33 #include <memory>
34 
35 class TrackerTopology;
36 class MonitorElement;
37 
38 class SiStripCalibLorentzAngle : public ConditionDBWriter<SiStripLorentzAngle>
39 {
40  public:
41 
42  explicit SiStripCalibLorentzAngle(const edm::ParameterSet& conf);
43 
44  ~SiStripCalibLorentzAngle() override;
45 
46  std::unique_ptr<SiStripLorentzAngle> getNewObject() override;
47 
48  void algoBeginJob(const edm::EventSetup&) override;
49 
50  private:
51 
54 
57 
58  typedef std::map <std::string , TProfile*> ProfileMap;
59  ProfileMap Profiles;
60  typedef std::map <std::string , TH1D*> TH1Dmap;
61  TH1Dmap TH1Ds;
62  typedef std::map <std::string , TH2D*> TH2Dmap;
63  TH2Dmap TH2Ds;
64  std::vector<MonitorElement*> histolist;
65 
67 
71 
73 
75 
77 
78  TGraphErrors *TIB_graph, *TOB_graph;
79 
80  TTree* ModuleTree;
81  TFile *hFile;
82 
85 
86  std::map< uint32_t, float> detid_la;
88 
89 };
90 
91 
92 #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