|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
MonitorElement * | bookH1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P") |
|
MonitorElement * | bookH1andDivide (DQMStore::IBooker &, const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
|
MonitorElement * | bookH1BinArray (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, float *xbinsize, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P") |
|
MonitorElement * | bookH1withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P") |
|
MonitorElement * | bookH1withSumw2BinArray (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, float *xbinsize, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P") |
|
MonitorElement * | bookH2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ") |
|
MonitorElement * | bookH2andDivide (DQMStore::IBooker &, const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
|
MonitorElement * | bookH2withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ") |
|
MonitorElement * | bookP1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P") |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
std::string | newName (const std::string &name) |
|
void | prepareBooking (DQMStore::IBooker &) |
|
MonitorElement * | profileX (DQMStore::IBooker &, MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
|
MonitorElement * | profileY (DQMStore::IBooker &, MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
|
| ScoutingAnalyzerBase (const edm::ParameterSet &conf) |
|
| ~ScoutingAnalyzerBase () override |
|
Definition at line 10 of file RazorVarAnalyzer.h.
Definition at line 169 of file RazorVarAnalyzer.cc.
References MonitorElement::Fill(), edm::Event::getByToken(), edm::HandleBase::isValid(), m_eleCollectionTagToken_, m_jetCollectionTagToken_, m_muCollectionTagToken_, m_razorVarCollectionTagToken_, m_rsqMREle, m_rsqMREleEle, m_rsqMREleMJ, m_rsqMREleMu, m_rsqMRFullyInc, m_rsqMRHad, m_rsqMRHadMJ, m_rsqMRInc10J, m_rsqMRInc12J, m_rsqMRInc14J, m_rsqMRInc4J, m_rsqMRInc6J, m_rsqMRInc8J, m_rsqMRMu, m_rsqMRMuMJ, m_rsqMRMuMu, and dttmaxenums::R.
174 unsigned int njets = 0;
175 for(reco::CaloJetCollection::const_iterator it = calojets_handle->begin(); it != calojets_handle->end(); ++it){
176 if(it->pt() >= 30. && fabs(it->eta()) <= 3.0){
185 unsigned int nmu_loose = 0;
186 unsigned int nmu_tight = 0;
188 for(std::vector<reco::RecoChargedCandidate>::const_iterator it = muon_handle->begin(); it != muon_handle->end(); ++it){
189 if(it->pt() >= 15 && fabs(it->eta()) <= 2.1) nmu_tight++;
190 if(it->pt() >= 10 && fabs(it->eta()) <= 2.4) nmu_loose++;
198 unsigned int nele_loose = 0;
199 unsigned int nele_tight = 0;
201 for(reco::ElectronCollection::const_iterator it = ele_handle->begin(); it != ele_handle->end(); ++it){
202 if(it->pt() >= 20 && fabs(it->eta()) <= 2.5) nele_tight++;
203 if(it->pt() >= 10 && fabs(it->eta()) <= 2.5) nele_loose++;
208 unsigned int box_num = 5;
209 if(nmu_tight > 0 && nele_tight > 0){
211 }
else if(nmu_tight > 0 && nmu_loose > 1){
213 }
else if(nele_tight > 0 && nele_loose > 1){
215 }
else if(nmu_tight > 0){
217 }
else if(nele_tight > 0){
223 if(razorvar_handle->size() > 1){
224 const double MR = razorvar_handle->at(0);
225 const double R = razorvar_handle->at(1);
MonitorElement * m_rsqMRInc12J
MonitorElement * m_rsqMRHadMJ
edm::EDGetTokenT< std::vector< double > > m_razorVarCollectionTagToken_
edm::EDGetTokenT< reco::ElectronCollection > m_eleCollectionTagToken_
MonitorElement * m_rsqMREle
MonitorElement * m_rsqMRInc6J
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * m_rsqMREleMJ
MonitorElement * m_rsqMRInc8J
MonitorElement * m_rsqMRMu
MonitorElement * m_rsqMRMuMJ
edm::EDGetTokenT< std::vector< reco::RecoChargedCandidate > > m_muCollectionTagToken_
MonitorElement * m_rsqMREleMu
MonitorElement * m_rsqMRMuMu
MonitorElement * m_rsqMRInc14J
MonitorElement * m_rsqMRInc4J
MonitorElement * m_rsqMREleEle
edm::EDGetTokenT< reco::CaloJetCollection > m_jetCollectionTagToken_
MonitorElement * m_rsqMRHad
MonitorElement * m_rsqMRInc10J
MonitorElement * m_rsqMRFullyInc
Definition at line 31 of file RazorVarAnalyzer.cc.
References ScoutingAnalyzerBase::bookH2withSumw2(), m_rsqMREle, m_rsqMREleEle, m_rsqMREleMJ, m_rsqMREleMu, m_rsqMRFullyInc, m_rsqMRHad, m_rsqMRHadMJ, m_rsqMRInc10J, m_rsqMRInc12J, m_rsqMRInc14J, m_rsqMRInc4J, m_rsqMRInc6J, m_rsqMRInc8J, m_rsqMRMu, m_rsqMRMuMJ, m_rsqMRMuMu, and ScoutingAnalyzerBase::prepareBooking().
37 "M_{R} vs R^{2} (All Events)",
45 "M_{R} vs R^{2} (>= 4j)",
53 "M_{R} vs R^{2} (>= 6j)",
61 "M_{R} vs R^{2} (>= 8j)",
69 "M_{R} vs R^{2} (>= 10j)",
77 "M_{R} vs R^{2} (>= 12j)",
85 "M_{R} vs R^{2} (>= 14j)",
95 "M_{R} vs R^{2} (EleMu box)",
103 "M_{R} vs R^{2} (MuMu box)",
111 "M_{R} vs R^{2} (EleEle box)",
119 "M_{R} vs R^{2} (Mu box)",
127 "M_{R} vs R^{2} (Ele box)",
135 "M_{R} vs R^{2} (Had box)",
145 "M_{R} vs R^{2} (Mu box >= 4j)",
153 "M_{R} vs R^{2} (Ele box >= 5j)",
161 "M_{R} vs R^{2} (Had box >= 6j)",
MonitorElement * m_rsqMRInc12J
MonitorElement * m_rsqMRHadMJ
MonitorElement * m_rsqMREle
MonitorElement * m_rsqMRInc6J
void prepareBooking(DQMStore::IBooker &)
MonitorElement * m_rsqMREleMJ
MonitorElement * m_rsqMRInc8J
MonitorElement * m_rsqMRMu
MonitorElement * m_rsqMRMuMJ
MonitorElement * m_rsqMREleMu
MonitorElement * m_rsqMRMuMu
MonitorElement * m_rsqMRInc14J
MonitorElement * m_rsqMRInc4J
MonitorElement * bookH2withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
MonitorElement * m_rsqMREleEle
MonitorElement * m_rsqMRHad
MonitorElement * m_rsqMRInc10J
MonitorElement * m_rsqMRFullyInc