CMS 3D CMS Logo

ME0SegmentsValidation.h
Go to the documentation of this file.
1 #ifndef ME0SegmentsValidation_H
2 #define ME0SegmentsValidation_H
3 
8 
10 public:
11  explicit ME0SegmentsValidation(const edm::ParameterSet &);
12  ~ME0SegmentsValidation() override;
13  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
14  void analyze(const edm::Event &e, const edm::EventSetup &) override;
16  bool isSimTrackGood(edm::SimTrackContainer::const_iterator simTrack);
17  bool isSimMatched(edm::SimTrackContainer::const_iterator, edm::PSimHitContainer::const_iterator);
18 
19 private:
23 
28 
31 
36 
41 
42  int npart;
43  double sigma_x_, sigma_y_;
44  double eta_max_, eta_min_;
45  double pt_min_;
46  bool isMuonGun_;
47 
48  typedef std::map<edm::SimTrackContainer::const_iterator, edm::PSimHitContainer> MapTypeSim;
49  typedef std::map<ME0SegmentCollection::const_iterator, std::vector<ME0RecHit>> MapTypeSeg;
50 };
51 
52 #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