Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:57

0001 #ifndef CalibTracker_SiStripLorentzAngle_SiStripLorentzAngleCalibrationStruct_h
0002 #define CalibTracker_SiStripLorentzAngle_SiStripLorentzAngleCalibrationStruct_h
0003 
0004 // system includes
0005 #include <map>
0006 #include <vector>
0007 
0008 // user includes
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010 #include "CalibFormats/SiStripObjects/interface/SiStripHashedDetId.h"
0011 
0012 struct SiStripLorentzAngleCalibrationHistograms {
0013 public:
0014   SiStripLorentzAngleCalibrationHistograms() = default;
0015 
0016   // B field
0017   std::string bfield_;
0018 
0019   // APV mode
0020   std::string apvmode_;
0021 
0022   std::map<uint32_t, int> orientation_;
0023   std::map<uint32_t, float> la_db_;
0024   std::map<uint32_t, std::string> moduleLocationType_;
0025 
0026   // histogramming
0027   std::map<std::string, dqm::reco::MonitorElement*> h1_;
0028   std::map<std::string, dqm::reco::MonitorElement*> h2_;
0029   std::map<std::string, dqm::reco::MonitorElement*> p_;
0030 
0031   // These are vectors since std:map::find is expensive
0032   // we're going to profit of the dense indexing offered by
0033   // SiStripHashedDetId and index the histogram position
0034   // with the natural booking order
0035   SiStripHashedDetId hash_;
0036 
0037   std::vector<dqm::reco::MonitorElement*> h2_ct_w_m_;
0038   std::vector<dqm::reco::MonitorElement*> h2_ct_var2_m_;
0039   std::vector<dqm::reco::MonitorElement*> h2_ct_var3_m_;
0040 
0041   std::vector<dqm::reco::MonitorElement*> h2_t_w_m_;
0042   std::vector<dqm::reco::MonitorElement*> h2_t_var2_m_;
0043   std::vector<dqm::reco::MonitorElement*> h2_t_var3_m_;
0044 
0045   std::map<std::string, dqm::reco::MonitorElement*> hp_;
0046 
0047   dqm::reco::MonitorElement* h2_byLayerLA_;
0048   dqm::reco::MonitorElement* h2_byLayerDiff_;
0049 
0050   // info
0051   std::map<std::string, int> nlayers_;
0052   std::vector<std::string> modtypes_;
0053   std::map<std::string, float> la_;
0054 };
0055 
0056 #endif