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
ME0SegmentsValidation::sigma_y_
double sigma_y_
Definition: ME0SegmentsValidation.h:43
ME0SegmentsValidation::me0_simsegment_phi
MonitorElement * me0_simsegment_phi
Definition: ME0SegmentsValidation.h:29
ME0SegmentsValidation::isMatched
std::pair< int, int > isMatched(ME0DetId, LocalPoint, edm::Handle< ME0DigiPreRecoCollection >)
Definition: ME0SegmentsValidation.cc:339
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
ME0SegmentsValidation::me0_matchedsimsegment_eta
MonitorElement * me0_matchedsimsegment_eta
Definition: ME0SegmentsValidation.h:30
ME0SegmentsValidation::me0_segment_size
MonitorElement * me0_segment_size
Definition: ME0SegmentsValidation.h:27
cscDigiValidation_cfi.simTrack
simTrack
Definition: cscDigiValidation_cfi.py:29
ME0BaseValidation.h
ME0SegmentsValidation::isSimMatched
bool isSimMatched(edm::SimTrackContainer::const_iterator, edm::PSimHitContainer::const_iterator)
Definition: ME0SegmentsValidation.cc:406
ME0SegmentsValidation::ME0SegmentsValidation
ME0SegmentsValidation(const edm::ParameterSet &)
Definition: ME0SegmentsValidation.cc:5
ME0RecHitCollection.h
ME0SegmentsValidation::me0_simsegment_eta
MonitorElement * me0_simsegment_eta
Definition: ME0SegmentsValidation.h:29
edm::Run
Definition: Run.h:45
ME0SegmentsValidation::me0_specRH_DeltaY
MonitorElement * me0_specRH_DeltaY[2][6]
Definition: ME0SegmentsValidation.h:33
ME0SegmentCollection.h
ME0SegmentsValidation::sigma_x_
double sigma_x_
Definition: ME0SegmentsValidation.h:43
ME0SegmentsValidation::me0_segment_numRHBkg
MonitorElement * me0_segment_numRHBkg
Definition: ME0SegmentsValidation.h:26
ME0BaseValidation
Definition: ME0BaseValidation.h:20
ME0SegmentsValidation::isMuonGun_
bool isMuonGun_
Definition: ME0SegmentsValidation.h:46
edm::Handle
Definition: AssociativeIterator.h:50
ME0SegmentsValidation::me0_segment_PhiRH
MonitorElement * me0_segment_PhiRH
Definition: ME0SegmentsValidation.h:27
ME0SegmentsValidation::me0_segment_time
MonitorElement * me0_segment_time
Definition: ME0SegmentsValidation.h:25
ME0SegmentsValidation::me0_segment_redchi2
MonitorElement * me0_segment_redchi2
Definition: ME0SegmentsValidation.h:24
ME0SegmentsValidation::InputTagTokenST_
edm::EDGetToken InputTagTokenST_
Definition: ME0SegmentsValidation.h:40
ME0SegmentsValidation::analyze
void analyze(const edm::Event &e, const edm::EventSetup &) override
Definition: ME0SegmentsValidation.cc:107
ME0SegmentsValidation::MapTypeSim
std::map< edm::SimTrackContainer::const_iterator, edm::PSimHitContainer > MapTypeSim
Definition: ME0SegmentsValidation.h:48
ME0SegmentsValidation::me0_specRH_xy
MonitorElement * me0_specRH_xy[2][6]
Definition: ME0SegmentsValidation.h:20
Point3DBase< float, LocalTag >
ME0SegmentsValidation::me0_matchedsimsegment_phi
MonitorElement * me0_matchedsimsegment_phi
Definition: ME0SegmentsValidation.h:30
ME0SegmentsValidation::InputTagToken_
edm::EDGetToken InputTagToken_
Definition: ME0SegmentsValidation.h:39
ME0SegmentsValidation::me0_segment_timeErr
MonitorElement * me0_segment_timeErr
Definition: ME0SegmentsValidation.h:25
ME0SegmentsValidation::npart
int npart
Definition: ME0SegmentsValidation.h:42
edm::ParameterSet
Definition: ParameterSet.h:47
ME0SegmentsValidation::me0_segment_EtaRH
MonitorElement * me0_segment_EtaRH
Definition: ME0SegmentsValidation.h:27
ME0SegmentsValidation::me0_specRH_DeltaX
MonitorElement * me0_specRH_DeltaX[2][6]
Definition: ME0SegmentsValidation.h:32
ME0SegmentsValidation::~ME0SegmentsValidation
~ME0SegmentsValidation() override
Definition: ME0SegmentsValidation.cc:105
ME0SegmentsValidation::me0_rh_xy_Muon
MonitorElement * me0_rh_xy_Muon[2][6]
Definition: ME0SegmentsValidation.h:21
ME0SegmentsValidation::me0_specRH_PullX
MonitorElement * me0_specRH_PullX[2][6]
Definition: ME0SegmentsValidation.h:34
edm::EventSetup
Definition: EventSetup.h:58
ME0DetId
Definition: ME0DetId.h:16
edm::EDGetToken
Definition: EDGetToken.h:35
ME0SegmentsValidation::me0_segment_ndof
MonitorElement * me0_segment_ndof
Definition: ME0SegmentsValidation.h:24
ME0SegmentsValidation::MapTypeSeg
std::map< ME0SegmentCollection::const_iterator, std::vector< ME0RecHit > > MapTypeSeg
Definition: ME0SegmentsValidation.h:49
ME0SegmentsValidation::me0_segment_numRHSig
MonitorElement * me0_segment_numRHSig
Definition: ME0SegmentsValidation.h:26
ME0SegmentsValidation::me0_segment_numRH
MonitorElement * me0_segment_numRH
Definition: ME0SegmentsValidation.h:26
ME0SegmentsValidation::isSimTrackGood
bool isSimTrackGood(edm::SimTrackContainer::const_iterator simTrack)
Definition: ME0SegmentsValidation.cc:391
ME0SegmentsValidation::InputTagToken_Digis
edm::EDGetToken InputTagToken_Digis
Definition: ME0SegmentsValidation.h:38
ME0SegmentsValidation::eta_max_
double eta_max_
Definition: ME0SegmentsValidation.h:44
ME0DigiPreRecoCollection.h
ME0SegmentsValidation::me0_matchedsimsegment_pt
MonitorElement * me0_matchedsimsegment_pt
Definition: ME0SegmentsValidation.h:30
ME0SegmentsValidation::me0_specRH_zr
MonitorElement * me0_specRH_zr[2]
Definition: ME0SegmentsValidation.h:22
dqm::implementation::IBooker
Definition: DQMStore.h:43
ME0SegmentsValidation::pt_min_
double pt_min_
Definition: ME0SegmentsValidation.h:45
ME0SegmentsValidation
Definition: ME0SegmentsValidation.h:9
ME0SegmentsValidation::InputTagToken_Segments
edm::EDGetToken InputTagToken_Segments
Definition: ME0SegmentsValidation.h:37
ME0SegmentsValidation::me0_segment_chi2
MonitorElement * me0_segment_chi2
Definition: ME0SegmentsValidation.h:24
edm::Event
Definition: Event.h:73
ME0SegmentsValidation::me0_specRH_PullY
MonitorElement * me0_specRH_PullY[2][6]
Definition: ME0SegmentsValidation.h:35
ME0SegmentsValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: ME0SegmentsValidation.cc:18
ME0SegmentsValidation::me0_simsegment_pt
MonitorElement * me0_simsegment_pt
Definition: ME0SegmentsValidation.h:29
ME0SegmentsValidation::eta_min_
double eta_min_
Definition: ME0SegmentsValidation.h:44
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37