|
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
|
virtual void | bookMEs () |
|
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
|
| RazorVarAnalyzer (const edm::ParameterSet &) |
|
virtual | ~RazorVarAnalyzer () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
|
typedef EDAnalyzer | ModuleType |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
void | beginJob () |
|
MonitorElement * | bookH1 (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 (const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
|
MonitorElement * | bookH1BinArray (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 (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 (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 (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 (const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
|
MonitorElement * | bookH2withSumw2 (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 (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") |
|
virtual void | endJob () |
|
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
|
std::string | newName (const std::string &name) |
|
MonitorElement * | profileX (MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
|
MonitorElement * | profileY (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) |
|
virtual | ~ScoutingAnalyzerBase () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
Definition at line 11 of file RazorVarAnalyzer.h.
Reimplemented from ScoutingAnalyzerBase.
Definition at line 36 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.
43 unsigned int njets = 0;
44 for(reco::CaloJetCollection::const_iterator it = calojets_handle->begin(); it != calojets_handle->end(); ++it){
45 if(it->pt() >= 30. && fabs(it->eta()) <= 3.0){
54 unsigned int nmu_loose = 0;
55 unsigned int nmu_tight = 0;
57 for(std::vector<reco::RecoChargedCandidate>::const_iterator it = muon_handle->begin(); it != muon_handle->end(); ++it){
58 if(it->pt() >= 15 && fabs(it->eta()) <= 2.1) nmu_tight++;
59 if(it->pt() >= 10 && fabs(it->eta()) <= 2.4) nmu_loose++;
67 unsigned int nele_loose = 0;
68 unsigned int nele_tight = 0;
70 for(reco::ElectronCollection::const_iterator it = ele_handle->begin(); it != ele_handle->end(); ++it){
71 if(it->pt() >= 20 && fabs(it->eta()) <= 2.5) nele_tight++;
72 if(it->pt() >= 10 && fabs(it->eta()) <= 2.5) nele_loose++;
77 unsigned int box_num = 5;
78 if(nmu_tight > 0 && nele_tight > 0){
80 }
else if(nmu_tight > 0 && nmu_loose > 1){
82 }
else if(nele_tight > 0 && nele_loose > 1){
84 }
else if(nmu_tight > 0){
86 }
else if(nele_tight > 0){
93 if(razorvar_handle->size() > 1){
94 const double MR = razorvar_handle->at(0);
95 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