CMS 3D CMS Logo

ME0SegmentsValidation.h
Go to the documentation of this file.
1 #ifndef ME0SegmentsValidation_H
2 #define ME0SegmentsValidation_H
3 
5 
8 
15 
17 public:
18  explicit ME0SegmentsValidation(const edm::ParameterSet &);
19  ~ME0SegmentsValidation() override;
20  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
21  void analyze(const edm::Event &e, const edm::EventSetup &) override;
23  bool isSimTrackGood(edm::SimTrackContainer::const_iterator simTrack);
24  bool isSimMatched(edm::SimTrackContainer::const_iterator, edm::PSimHitContainer::const_iterator);
25 
26 private:
30 
35 
38 
43 
48 
49  int npart;
50  double sigma_x_, sigma_y_;
51  double eta_max_, eta_min_;
52  double pt_min_;
53  bool isMuonGun_;
54 
55  typedef std::map<edm::SimTrackContainer::const_iterator, edm::PSimHitContainer> MapTypeSim;
56  typedef std::map<ME0SegmentCollection::const_iterator, std::vector<ME0RecHit>> MapTypeSeg;
57 };
58 
59 #endif
bool isSimTrackGood(edm::SimTrackContainer::const_iterator simTrack)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * me0_segment_redchi2
MonitorElement * me0_simsegment_pt
void analyze(const edm::Event &e, const edm::EventSetup &) override
edm::EDGetToken InputTagToken_Segments
MonitorElement * me0_rh_xy_Muon[2][6]
std::map< edm::SimTrackContainer::const_iterator, edm::PSimHitContainer > MapTypeSim
MonitorElement * me0_specRH_xy[2][6]
MonitorElement * me0_segment_ndof
ME0SegmentsValidation(const edm::ParameterSet &)
MonitorElement * me0_segment_numRH
MonitorElement * me0_segment_EtaRH
MonitorElement * me0_specRH_DeltaX[2][6]
MonitorElement * me0_segment_time
MonitorElement * me0_specRH_PullX[2][6]
MonitorElement * me0_segment_numRHBkg
edm::EDGetToken InputTagTokenST_
std::map< ME0SegmentCollection::const_iterator, std::vector< ME0RecHit > > MapTypeSeg
MonitorElement * me0_matchedsimsegment_phi
edm::EDGetToken InputTagToken_
MonitorElement * me0_segment_timeErr
edm::EDGetToken InputTagToken_Digis
MonitorElement * me0_specRH_PullY[2][6]
MonitorElement * me0_segment_PhiRH
MonitorElement * me0_matchedsimsegment_pt
std::pair< int, int > isMatched(ME0DetId, LocalPoint, edm::Handle< ME0DigiPreRecoCollection >)
MonitorElement * me0_segment_size
MonitorElement * me0_segment_chi2
MonitorElement * me0_simsegment_eta
MonitorElement * me0_segment_numRHSig
MonitorElement * me0_specRH_DeltaY[2][6]
MonitorElement * me0_simsegment_phi
MonitorElement * me0_matchedsimsegment_eta
bool isSimMatched(edm::SimTrackContainer::const_iterator, edm::PSimHitContainer::const_iterator)
MonitorElement * me0_specRH_zr[2]
Definition: Run.h:45