CMS 3D CMS Logo

MillePedeDQMModule.h
Go to the documentation of this file.
1 #ifndef Alignment_MillePedeAlignmentAlgorithm_MillePedeDQMModule_h
2 #define Alignment_MillePedeAlignmentAlgorithm_MillePedeDQMModule_h
3 
14 /*** system includes ***/
15 #include <array>
16 #include <memory>
17 
18 /*** core framework functionality ***/
26 
27 /*** Geometry ***/
31 
32 /*** Thresholds from DB ***/
34 
35 /*** DQM ***/
38 
39 /*** Records for ESWatcher ***/
44 
45 /*** MillePede ***/
47 
49  //========================== PUBLIC METHODS ==================================
50 public: //====================================================================
52  ~MillePedeDQMModule() override;
53 
55 
56  //========================= PRIVATE METHODS ==================================
57 private: //===================================================================
58  void beginRun(const edm::Run&, const edm::EventSetup&) override;
59 
61 
62  void fillStatusHisto(MonitorElement* statusHisto);
63 
64  void fillExpertHistos();
65 
67  const std::array<double, 6>& cut,
68  const std::array<double, 6>& sigCut,
69  const std::array<double, 6>& maxMoveCut,
70  const std::array<double, 6>& maxErrorCut,
71  const std::array<double, 6>& obs,
72  const std::array<double, 6>& obsErr);
73 
74  bool setupChanged(const edm::EventSetup&);
75  int getIndexFromString(const std::string& alignableId);
76 
77  //========================== PRIVATE DATA ====================================
78  //============================================================================
79 
80  // esConsumes
86 
88  std::unique_ptr<AlignableTracker> tracker_;
89  std::unique_ptr<MillePedeFileReader> mpReader_;
90 
94 
95  // Histograms
102 
106 };
107 
108 // define this as a plug-in
110 
111 #endif /* Alignment_MillePedeAlignmentAlgorithm_MillePedeDQMModule_h */
DQMEDHarvester.h
MillePedeDQMModule::gDetToken_
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > gDetToken_
Definition: MillePedeDQMModule.h:82
MessageLogger.h
MillePedeDQMModule::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: MillePedeDQMModule.cc:64
edm::ESWatcher< TrackerTopologyRcd >
MillePedeDQMModule::binariesAvalaible
MonitorElement * binariesAvalaible
Definition: MillePedeDQMModule.h:104
MillePedeDQMModule::tTopoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: MillePedeDQMModule.h:81
MillePedeDQMModule::tracker_
std::unique_ptr< AlignableTracker > tracker_
Definition: MillePedeDQMModule.h:88
edm::Run
Definition: Run.h:45
MillePedeDQMModule::mpReader_
std::unique_ptr< MillePedeFileReader > mpReader_
Definition: MillePedeDQMModule.h:89
MillePedeDQMModule::h_xPos
MonitorElement * h_xPos
Definition: MillePedeDQMModule.h:96
timingPdfMaker.histo
histo
Definition: timingPdfMaker.py:278
DQMStore.h
PTrackerAdditionalParametersPerDetRcd.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
PTrackerParameters.h
MillePedeDQMModule::bookHistograms
void bookHistograms(DQMStore::IBooker &)
Definition: MillePedeDQMModule.cc:44
MillePedeDQMModule::fillStatusHisto
void fillStatusHisto(MonitorElement *statusHisto)
Definition: MillePedeDQMModule.cc:116
MakerMacros.h
TrackerTopology.h
TrackerTopologyRcd.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
AlignPCLThresholdsRcd.h
MillePedeDQMModule::fillExpertHistos
void fillExpertHistos()
Definition: MillePedeDQMModule.cc:134
Service.h
MillePedeDQMModule::ptpToken_
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcd > ptpToken_
Definition: MillePedeDQMModule.h:83
MillePedeDQMModule::watchPTrackerParametersRcd_
edm::ESWatcher< PTrackerParametersRcd > watchPTrackerParametersRcd_
Definition: MillePedeDQMModule.h:93
MillePedeDQMModule::h_yPos
MonitorElement * h_yPos
Definition: MillePedeDQMModule.h:98
MillePedeDQMModule
Definition: MillePedeDQMModule.h:48
MillePedeDQMModule::h_zPos
MonitorElement * h_zPos
Definition: MillePedeDQMModule.h:100
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
MillePedeDQMModule::mpReaderConfig_
const edm::ParameterSet mpReaderConfig_
Definition: MillePedeDQMModule.h:87
MillePedeDQMModule::watchIdealGeometryRcd_
edm::ESWatcher< IdealGeometryRecord > watchIdealGeometryRcd_
Definition: MillePedeDQMModule.h:92
PTrackerParametersRcd.h
HLT_FULL_cff.sigCut
sigCut
Definition: HLT_FULL_cff.py:51991
MillePedeDQMModule::~MillePedeDQMModule
~MillePedeDQMModule() override
Definition: MillePedeDQMModule.cc:38
MillePedeDQMModule::aliThrToken_
const edm::ESGetToken< AlignPCLThresholds, AlignPCLThresholdsRcd > aliThrToken_
Definition: MillePedeDQMModule.h:85
IdealGeometryRecord.h
edm::EventSetup
Definition: EventSetup.h:58
MillePedeDQMModule::MillePedeDQMModule
MillePedeDQMModule(const edm::ParameterSet &)
Definition: MillePedeDQMModule.cc:28
MillePedeDQMModule::fillExpertHisto
void fillExpertHisto(MonitorElement *histo, const std::array< double, 6 > &cut, const std::array< double, 6 > &sigCut, const std::array< double, 6 > &maxMoveCut, const std::array< double, 6 > &maxErrorCut, const std::array< double, 6 > &obs, const std::array< double, 6 > &obsErr)
Definition: MillePedeDQMModule.cc:198
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MillePedeDQMModule::h_yRot
MonitorElement * h_yRot
Definition: MillePedeDQMModule.h:99
MillePedeDQMModule::setupChanged
bool setupChanged(const edm::EventSetup &)
Definition: MillePedeDQMModule.cc:241
DQMEDHarvester
Definition: DQMEDHarvester.py:1
ESWatcher.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
PA_MinBiasSkim_cff.cut
cut
Definition: PA_MinBiasSkim_cff.py:13
MillePedeDQMModule::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: MillePedeDQMModule.cc:84
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
MillePedeFileReader.h
TrackerGeomBuilderFromGeometricDet.h
MillePedeDQMModule::h_zRot
MonitorElement * h_zRot
Definition: MillePedeDQMModule.h:101
MillePedeDQMModule::exitCode
MonitorElement * exitCode
Definition: MillePedeDQMModule.h:105
MillePedeDQMModule::ptitpToken_
const edm::ESGetToken< PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd > ptitpToken_
Definition: MillePedeDQMModule.h:84
ParameterSet.h
MillePedeDQMModule::getIndexFromString
int getIndexFromString(const std::string &alignableId)
Definition: MillePedeDQMModule.cc:254
MillePedeDQMModule::watchTrackerTopologyRcd_
edm::ESWatcher< TrackerTopologyRcd > watchTrackerTopologyRcd_
Definition: MillePedeDQMModule.h:91
MillePedeDQMModule::h_xRot
MonitorElement * h_xRot
Definition: MillePedeDQMModule.h:97
MillePedeDQMModule::statusResults
MonitorElement * statusResults
Definition: MillePedeDQMModule.h:103