CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
CSCStubEfficiencyValidation.h
Go to the documentation of this file.
1 #ifndef Validation_MuonCSCDigis_CSCStubEfficiencyValidation_H
2 #define Validation_MuonCSCDigis_CSCStubEfficiencyValidation_H
3 
5 
15 
17 
18 #include <map>
19 #include <string>
20 #include <tuple>
21 
23 public:
26 
28  void analyze(const edm::Event &, const edm::EventSetup &) override;
29 
30  // access to the matcher
31  std::shared_ptr<CSCStubMatcher> cscStubMatcher() { return cscStubMatcher_; }
32  void setCSCStubMatcher(std::shared_ptr<CSCStubMatcher> s) { cscStubMatcher_ = s; }
33 
34 private:
35  bool isSimTrackGood(const SimTrack &t);
36 
41 
42  std::shared_ptr<CSCStubMatcher> cscStubMatcher_;
43 
44  // efficiency vs eta for each CSC TP
51 
57 
58  std::vector<double> etaMins_;
59  std::vector<double> etaMaxs_;
60 };
61 
62 #endif
CSCStubEfficiencyValidation::etaLCTDenom
MonitorElement * etaLCTDenom[10]
Definition: CSCStubEfficiencyValidation.h:50
CSCStubEfficiencyValidation::setCSCStubMatcher
void setCSCStubMatcher(std::shared_ptr< CSCStubMatcher > s)
Definition: CSCStubEfficiencyValidation.h:32
CSCCorrelatedLCTDigiCollection.h
CSCStubEfficiencyValidation::simTrackMinPt_
double simTrackMinPt_
Definition: CSCStubEfficiencyValidation.h:54
edm::EDGetTokenT< CSCALCTDigiCollection >
CSCStubEfficiencyValidation::etaLCTNum
MonitorElement * etaLCTNum[10]
Definition: CSCStubEfficiencyValidation.h:49
CSCStubEfficiencyValidation::simTrackInput_
edm::EDGetTokenT< edm::SimTrackContainer > simTrackInput_
Definition: CSCStubEfficiencyValidation.h:53
CSCStubEfficiencyValidation::cscStubMatcher_
std::shared_ptr< CSCStubMatcher > cscStubMatcher_
Definition: CSCStubEfficiencyValidation.h:42
CSCStubEfficiencyValidation::cscStubMatcher
std::shared_ptr< CSCStubMatcher > cscStubMatcher()
Definition: CSCStubEfficiencyValidation.h:31
DQMStore.h
CSCCorrelatedLCTDigi.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CSCALCTDigi.h
CSCStubEfficiencyValidation::etaCLCTDenom
MonitorElement * etaCLCTDenom[10]
Definition: CSCStubEfficiencyValidation.h:48
CSCStubEfficiencyValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &)
Definition: CSCStubEfficiencyValidation.cc:36
CSCStubEfficiencyValidation::CSCStubEfficiencyValidation
CSCStubEfficiencyValidation(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
Definition: CSCStubEfficiencyValidation.cc:9
CSCStubEfficiencyValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CSCStubEfficiencyValidation.cc:61
CSCStubEfficiencyValidation::etaMins_
std::vector< double > etaMins_
Definition: CSCStubEfficiencyValidation.h:58
CSCStubEfficiencyValidation::alcts_Token_
edm::EDGetTokenT< CSCALCTDigiCollection > alcts_Token_
Definition: CSCStubEfficiencyValidation.h:37
CSCStubEfficiencyValidation::clcts_Token_
edm::EDGetTokenT< CSCCLCTDigiCollection > clcts_Token_
Definition: CSCStubEfficiencyValidation.h:38
edm::ParameterSet
Definition: ParameterSet.h:47
CSCStubMatcher.h
CSCStubEfficiencyValidation
Definition: CSCStubEfficiencyValidation.h:22
CSCStubEfficiencyValidation::etaCLCTNum
MonitorElement * etaCLCTNum[10]
Definition: CSCStubEfficiencyValidation.h:47
edm::EventSetup
Definition: EventSetup.h:58
CSCStubEfficiencyValidation::simVertexInput_
edm::EDGetTokenT< edm::SimVertexContainer > simVertexInput_
Definition: CSCStubEfficiencyValidation.h:52
CSCStubEfficiencyValidation::isSimTrackGood
bool isSimTrackGood(const SimTrack &t)
Definition: CSCStubEfficiencyValidation.cc:156
CSCStubEfficiencyValidation::simTrackMinEta_
double simTrackMinEta_
Definition: CSCStubEfficiencyValidation.h:55
CSCStubEfficiencyValidation::~CSCStubEfficiencyValidation
~CSCStubEfficiencyValidation() override
Definition: CSCStubEfficiencyValidation.cc:34
CSCStubEfficiencyValidation::etaMaxs_
std::vector< double > etaMaxs_
Definition: CSCStubEfficiencyValidation.h:59
SimTrack
Definition: SimTrack.h:9
CSCCLCTDigi.h
CSCStubEfficiencyValidation::simTrackMaxEta_
double simTrackMaxEta_
Definition: CSCStubEfficiencyValidation.h:56
CSCStubEfficiencyValidation::inputTag_
edm::InputTag inputTag_
Definition: CSCStubEfficiencyValidation.h:40
dqm::implementation::IBooker
Definition: DQMStore.h:43
CSCALCTDigiCollection.h
ConsumesCollector.h
CSCBaseValidation
Definition: CSCBaseValidation.h:14
CSCBaseValidation.h
CSCCLCTDigiCollection.h
edm::Event
Definition: Event.h:73
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
CSCStubEfficiencyValidation::etaALCTDenom
MonitorElement * etaALCTDenom[10]
Definition: CSCStubEfficiencyValidation.h:46
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
CSCStubEfficiencyValidation::lcts_Token_
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > lcts_Token_
Definition: CSCStubEfficiencyValidation.h:39
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
CSCStubEfficiencyValidation::etaALCTNum
MonitorElement * etaALCTNum[10]
Definition: CSCStubEfficiencyValidation.h:45