CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
24 #include <TGraph.h>
25 #include <TProfile.h>
26 #include <TStyle.h>
27 #include <TH1D.h>
28 #include <TH2D.h>
29 #include <TF1.h>
30 #include <TFile.h>
31 #include <TTree.h>
32 #include <TGraphErrors.h>
33 #include <TDirectory.h>
34 #include "TROOT.h"
35 #include "Riostream.h"
37 
38 #include <memory>
39 
40 class TrackerTopology;
41 
42 class SiStripCalibLorentzAngle : public ConditionDBWriter<SiStripLorentzAngle> {
43 public:
46  explicit SiStripCalibLorentzAngle(const edm::ParameterSet &conf);
47 
48  ~SiStripCalibLorentzAngle() override;
49 
50  std::unique_ptr<SiStripLorentzAngle> getNewObject() override;
51 
52  void algoBeginJob(const edm::EventSetup &) override;
53 
54 private:
59 
60  const TrackerGeometry *tkGeom_ = nullptr;
61  const TrackerTopology *tTopo_ = nullptr;
62 
63  typedef std::map<std::string, TProfile *> ProfileMap;
65  typedef std::map<std::string, TH1D *> TH1Dmap;
67  typedef std::map<std::string, TH2D *> TH2Dmap;
69  std::vector<MonitorElement *> histolist;
70 
72 
76 
78 
80 
82 
83  TGraphErrors *TIB_graph, *TOB_graph;
84 
85  TTree *ModuleTree;
86  TFile *hFile;
87 
89  *TIB_Eta, *TOB_Eta;
92 
93  std::map<uint32_t, float> detid_la;
95 };
96 
97 #endif
dqm::legacy::DQMStore DQMStore
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
SiStripCalibLorentzAngle(const edm::ParameterSet &conf)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
std::vector< MonitorElement * > histolist
dqm::legacy::MonitorElement MonitorElement
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
edm::ESGetToken< SiStripLorentzAngle, SiStripLorentzAngleRcd > lorentzAngleToken_
const TrackerGeometry * tkGeom_
void algoBeginJob(const edm::EventSetup &) override
std::map< std::string, TH2D * > TH2Dmap
std::unique_ptr< SiStripLorentzAngle > getNewObject() override
std::map< std::string, TProfile * > ProfileMap
std::map< uint32_t, float > detid_la
const TrackerTopology * tTopo_
std::map< std::string, TH1D * > TH1Dmap