CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
HLTInclusiveVBFSource Class Reference

#include <HLTInclusiveVBFSource.h>

Inheritance diagram for HLTInclusiveVBFSource:
edm::EDAnalyzer edm::EDConsumerBase

Classes

class  PathInfo
 
class  PathInfoCollection
 

Public Member Functions

 HLTInclusiveVBFSource (const edm::ParameterSet &)
 
 ~HLTInclusiveVBFSource ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 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 ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
void beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
void beginRun (const edm::Run &run, const edm::EventSetup &c)
 
virtual void endJob ()
 
void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
void endRun (const edm::Run &run, const edm::EventSetup &c)
 EndRun. More...
 
virtual bool isBarrel (double eta)
 
virtual bool isEndCap (double eta)
 
virtual bool isForward (double eta)
 
virtual bool isHLTPathAccepted (std::string pathName)
 
virtual bool isTriggerObjectFound (std::string objectName)
 
virtual bool validPathHLT (std::string path)
 

Private Attributes

reco::CaloJetCollection calojet
 
edm::Handle
< reco::CaloJetCollection
calojetColl_
 
edm::EDGetTokenT
< reco::CaloJetCollection
caloJetsToken
 
edm::Handle
< reco::CaloMETCollection
calometColl_
 
edm::EDGetTokenT
< reco::CaloMETCollection
caloMetToken
 
bool check_mjj650_Pt35_DEta3p5
 
bool check_mjj650_Pt40_DEta3p5
 
bool check_mjj700_Pt35_DEta3p5
 
bool check_mjj700_Pt40_DEta3p5
 
bool check_mjj750_Pt35_DEta3p5
 
bool check_mjj750_Pt40_DEta3p5
 
bool check_mjj800_Pt35_DEta3p5
 
bool check_mjj800_Pt40_DEta3p5
 
bool checkdR_crossOrder
 
bool checkdR_sameOrder
 
bool checkHLT
 
bool checkHLTIndex
 
bool checkOffline
 
DQMStoredbe
 
bool debug_
 
double deltaRMatch_
 
std::string dirname_
 
float dR_HLT_RECO_11
 
float dR_HLT_RECO_12
 
float dR_HLT_RECO_21
 
float dR_HLT_RECO_22
 
bool etaOpposite_
 
std::string filtername
 
double hlt_deltaetajet
 
double hlt_deltaphijet
 
double hlt_ejet1
 
double hlt_ejet2
 
double hlt_etajet1
 
double hlt_etajet2
 
double hlt_invmassjet
 
double hlt_phijet1
 
double hlt_phijet2
 
double hlt_ptjet1
 
double hlt_ptjet2
 
double hlt_pxjet1
 
double hlt_pxjet2
 
double hlt_pyjet1
 
double hlt_pyjet2
 
double hlt_pzjet1
 
double hlt_pzjet2
 
HLTConfigProvider hltConfig_
 
PathInfoCollection hltPathsAll_
 
bool isSetup_
 
double minDeltaEta_
 
double minInvMass_
 
double minPtHigh_
 
double minPtLow_
 
int nCount_
 
std::vector< std::string > path_
 
std::string pathname
 
reco::PFJetCollection pfjet
 
edm::Handle
< reco::PFJetCollection
pfjetColl_
 
edm::EDGetTokenT< edm::View
< reco::PFJet > > 
pfJetsToken
 
edm::Handle
< reco::PFMETCollection
pfmetColl_
 
edm::EDGetTokenT< edm::View
< reco::PFMET > > 
pfMetToken
 
std::vector< int > prescUsed_
 
std::string processname_
 
double reco_deltaetajet
 
double reco_deltaphijet
 
double reco_ejet1
 
double reco_ejet2
 
double reco_etajet1
 
double reco_etajet2
 
double reco_invmassjet
 
double reco_phijet1
 
double reco_phijet2
 
double reco_ptjet1
 
double reco_ptjet2
 
double reco_pxjet1
 
double reco_pxjet2
 
double reco_pyjet1
 
double reco_pyjet2
 
double reco_pzjet1
 
double reco_pzjet2
 
edm::TriggerNames triggerNames_
 
edm::Handle
< trigger::TriggerEvent
triggerObj_
 
edm::Handle< edm::TriggerResultstriggerResults_
 
edm::EDGetTokenT
< edm::TriggerResults
triggerResultsFUToken
 
edm::InputTag triggerResultsLabel_
 
edm::EDGetTokenT
< edm::TriggerResults
triggerResultsToken
 
edm::EDGetTokenT
< trigger::TriggerEvent
triggerSummaryFUToken
 
edm::InputTag triggerSummaryLabel_
 
edm::EDGetTokenT
< trigger::TriggerEvent
triggerSummaryToken
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
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)
 

Detailed Description

Definition at line 48 of file HLTInclusiveVBFSource.h.

Constructor & Destructor Documentation

HLTInclusiveVBFSource::HLTInclusiveVBFSource ( const edm::ParameterSet iConfig)
explicit

Definition at line 46 of file HLTInclusiveVBFSource.cc.

References caloJetsToken, caloMetToken, check_mjj650_Pt35_DEta3p5, check_mjj650_Pt40_DEta3p5, check_mjj700_Pt35_DEta3p5, check_mjj700_Pt40_DEta3p5, check_mjj750_Pt35_DEta3p5, check_mjj750_Pt40_DEta3p5, check_mjj800_Pt35_DEta3p5, check_mjj800_Pt40_DEta3p5, dbe, debug_, deltaRMatch_, dirname_, etaOpposite_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), edm::InputTag::instance(), edm::InputTag::label(), LogDebug, minDeltaEta_, minInvMass_, minPtHigh_, minPtLow_, nCount_, cppFunctionSkipper::operator, pfJetsToken, pfMetToken, processname_, AlCaHLTBitMon_QueryRunRegistry::string, triggerResultsFUToken, triggerResultsLabel_, triggerResultsToken, triggerSummaryFUToken, triggerSummaryLabel_, and triggerSummaryToken.

46  :
47  isSetup_(false)
48 {
49  LogDebug("HLTInclusiveVBFSource") << "constructor....";
50  nCount_ = 0;
52  if ( ! dbe ) {
53  LogDebug("HLTInclusiveVBFSource") << "unabel to get DQMStore service?";
54  }
55  if (iConfig.getUntrackedParameter < bool > ("DQMStore", false)) {
56  dbe->setVerbose(0);
57  }
58 
59  dirname_ = iConfig.getUntrackedParameter("dirname",std::string("HLT/InclusiveVBF"));
60  processname_ = iConfig.getParameter<std::string>("processname");
61  triggerSummaryLabel_ = iConfig.getParameter<edm::InputTag>("triggerSummaryLabel");
62  triggerResultsLabel_ = iConfig.getParameter<edm::InputTag>("triggerResultsLabel");
63  triggerSummaryToken = consumes <trigger::TriggerEvent> (triggerSummaryLabel_);
64  triggerResultsToken = consumes <edm::TriggerResults> (triggerResultsLabel_);
65  triggerSummaryFUToken = consumes <trigger::TriggerEvent> (edm::InputTag(triggerSummaryLabel_.label(),triggerSummaryLabel_.instance(),std::string("FU")));
66  triggerResultsFUToken = consumes <edm::TriggerResults> (edm::InputTag(triggerResultsLabel_.label(),triggerResultsLabel_.instance(),std::string("FU")));
67 
68  //path_ = iConfig.getUntrackedParameter<std::vector<std::string> >("paths");
69  //l1path_ = iConfig.getUntrackedParameter<std::vector<std::string> >("l1paths");
70  debug_ = iConfig.getUntrackedParameter< bool >("debug", false);
71 
72  caloJetsToken = consumes<reco::CaloJetCollection> (iConfig.getParameter<edm::InputTag>("CaloJetCollectionLabel"));
73  caloMetToken = consumes<reco::CaloMETCollection> (iConfig.getParameter<edm::InputTag>("CaloMETCollectionLabel"));
74  pfJetsToken = consumes<edm::View<reco::PFJet> > (iConfig.getParameter<edm::InputTag>("PFJetCollectionLabel"));
75  pfMetToken = consumes<edm::View<reco::PFMET> > (iConfig.getParameter<edm::InputTag>("PFMETCollectionLabel"));
76  //jetID = new reco::helper::JetIDHelper(iConfig.getParameter<ParameterSet>("JetIDParams"));
77 
78  minPtHigh_ = iConfig.getUntrackedParameter<double>("minPtHigh",40.);
79  minPtLow_ = iConfig.getUntrackedParameter<double>("minPtLow",40.);
80  minDeltaEta_ = iConfig.getUntrackedParameter<double>("minDeltaEta",3.5);
81  deltaRMatch_ = iConfig.getUntrackedParameter<double>("deltaRMatch",0.1);
82  minInvMass_ = iConfig.getUntrackedParameter<double>("minInvMass",1000.0);
83  etaOpposite_ = iConfig.getUntrackedParameter<bool>("etaOpposite",true);
84 
93 }
#define LogDebug(id)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< edm::TriggerResults > triggerResultsFUToken
edm::EDGetTokenT< reco::CaloMETCollection > caloMetToken
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryToken
edm::InputTag triggerSummaryLabel_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken
edm::EDGetTokenT< edm::View< reco::PFJet > > pfJetsToken
edm::EDGetTokenT< edm::View< reco::PFMET > > pfMetToken
std::string const & label() const
Definition: InputTag.h:42
edm::InputTag triggerResultsLabel_
std::string const & instance() const
Definition: InputTag.h:43
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryFUToken
HLTInclusiveVBFSource::~HLTInclusiveVBFSource ( )

Definition at line 96 of file HLTInclusiveVBFSource.cc.

96  {
97  //
98  // do anything here that needs to be done at desctruction time
99  // (e.g. close files, deallocate resources etc.)
100 }

Member Function Documentation

void HLTInclusiveVBFSource::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 104 of file HLTInclusiveVBFSource.cc.

References funct::abs(), check_mjj650_Pt35_DEta3p5, check_mjj650_Pt40_DEta3p5, check_mjj700_Pt35_DEta3p5, check_mjj700_Pt40_DEta3p5, check_mjj750_Pt35_DEta3p5, check_mjj750_Pt40_DEta3p5, check_mjj800_Pt35_DEta3p5, check_mjj800_Pt40_DEta3p5, checkdR_crossOrder, checkdR_sameOrder, checkHLT, checkHLTIndex, checkOffline, gather_cfg::cout, debug_, reco::deltaPhi(), reco::deltaR(), deltaRMatch_, dR_HLT_RECO_11, dR_HLT_RECO_12, dR_HLT_RECO_21, dR_HLT_RECO_22, relval_parameters_module::energy, eta(), etaOpposite_, filtername, edm::Event::getByToken(), hlt_deltaetajet, hlt_deltaphijet, hlt_ejet1, hlt_ejet2, hlt_etajet1, hlt_etajet2, hlt_invmassjet, hlt_phijet1, hlt_phijet2, hlt_ptjet1, hlt_ptjet2, hlt_pxjet1, hlt_pxjet2, hlt_pyjet1, hlt_pyjet2, hlt_pzjet1, hlt_pzjet2, hltPathsAll_, patRefSel_triggerSelection_cff::hltTag, isHLTPathAccepted(), edm::HandleBase::isValid(), fwrapper::jets, PatBasicFWLiteJetAnalyzer_Selector_cfg::jetSrc, PatBasicFWLiteJetAnalyzer_Selector_cfg::metSrc, minDeltaEta_, minInvMass_, minPtHigh_, minPtLow_, reco::btau::neutralHadronEnergyFraction, pathname, pfJetsToken, pfMetToken, phi, processname_, EnergyCorrector::pt, dt_dqm_sourceclient_common_cff::reco, reco_deltaetajet, reco_deltaphijet, reco_ejet1, reco_ejet2, reco_etajet1, reco_etajet2, reco_invmassjet, reco_phijet1, reco_phijet2, reco_ptjet1, reco_ptjet2, reco_pxjet1, reco_pxjet2, reco_pyjet1, reco_pyjet2, reco_pzjet1, reco_pzjet2, mathSSE::sqrt(), edm::Event::triggerNames(), triggerNames_, triggerObj_, triggerResults_, triggerResultsFUToken, triggerResultsToken, triggerSummaryFUToken, triggerSummaryToken, and findQualityFiles::v.

104  {
105  using namespace std;
106  using namespace edm;
107  using namespace trigger;
108  using namespace reco;
109 
110  if(debug_) cout<<"DEBUG-0: Start to analyze"<<endl;
111 
112  //****************************************************
113  // Get trigger information.
114  //****************************************************
115  //
116  //---------- triggerResults ----------
118  if(!triggerResults_.isValid()) {
120  if(!triggerResults_.isValid()) {
121  edm::LogInfo("HLTInclusiveVBFSource") << "TriggerResults not found, "
122  "skipping event";
123  return;
124  }
125  }
126 
127  // Check how many HLT triggers are in triggerResults
129 
130  //---------- triggerSummary ----------
132  if(!triggerObj_.isValid()) {
134  if(!triggerObj_.isValid()) {
135  edm::LogInfo("HLTInclusiveVBFSource") << "TriggerEvent not found, "
136  "skipping event";
137  return;
138  }
139  }
140 
141  if(debug_) cout<<"DEBUG-1: Trigger information"<<endl;
142 
143  //****************************************************
144  // Get AOD information
145  //****************************************************
146  //
148  bool ValidPFMET_ = iEvent.getByToken(pfMetToken, metSrc);
149  if(!ValidPFMET_) return;
150 
152  bool ValidPFJet_ = iEvent.getByToken(pfJetsToken, jetSrc);
153  if(!ValidPFJet_) return;
154 
155  if(!metSrc.isValid()) return;
156  if(!jetSrc.isValid()) return;
157  const edm::View<reco::PFMET> & mets = *metSrc;
159  if(jets.size()<=0) return;
160  if(mets.size()<=0) return;
161 
162  if(debug_) cout<<"DEBUG-2: AOD Information"<<endl;
163 
164  //****************************************************
165  // Variable setting
166  //****************************************************
167  //
168  pathname = "dummy";
169  filtername = "dummy";
170 
171  //
172  reco_ejet1 = 0.;
173  //reco_etjet1 = 0.;
174  reco_pxjet1 = 0.;
175  reco_pyjet1 = 0.;
176  reco_pzjet1 = 0.;
177  reco_ptjet1 = 0.;
178  reco_etajet1 = 0.;
179  reco_phijet1 = 0.;
180 
181  //
182  reco_ejet2 = 0.;
183  //reco_etjet2 = 0.;
184  reco_pxjet2 = 0.;
185  reco_pyjet2 = 0.;
186  reco_pzjet2 = 0.;
187  reco_ptjet2 = 0.;
188  reco_etajet2 = 0.;
189  reco_phijet2 = 0.;
190 
191  //
192  hlt_ejet1 = 0.;
193  //hlt_etjet1 = 0.;
194  hlt_pxjet1 = 0.;
195  hlt_pyjet1 = 0.;
196  hlt_pzjet1 = 0.;
197  hlt_ptjet1 = 0.;
198  hlt_etajet1 = 0.;
199  hlt_phijet1 = 0.;
200 
201  //
202  hlt_ejet2 = 0.;
203  //hlt_etjet2 = 0.;
204  hlt_pxjet2 = 0.;
205  hlt_pyjet2 = 0.;
206  hlt_pzjet2 = 0.;
207  hlt_ptjet2 = 0.;
208  hlt_etajet2 = 0.;
209  hlt_phijet2 = 0.;
210 
211  //
212  checkOffline = false;
213  checkHLT = false;
214  checkHLTIndex = false;
215 
216  //
217  dR_HLT_RECO_11 = 0.;
218  dR_HLT_RECO_22 = 0.;
219  dR_HLT_RECO_12 = 0.;
220  dR_HLT_RECO_21 = 0.;
221 
222  //
223  checkdR_sameOrder = false;
224  checkdR_crossOrder = false;
225 
226  //
227  reco_deltaetajet = 0.;
228  reco_deltaphijet = 0.;
229  reco_invmassjet = 0.;
230  hlt_deltaetajet = 0.;
231  hlt_deltaphijet = 0.;
232  hlt_invmassjet = 0.;
233 
234  //****************************************************
235  // Offline analysis
236  //****************************************************
237  //
238  checkOffline = false;
239  for(unsigned int ijet1=0; ijet1<jets.size(); ijet1++){
240  if(jets[ijet1].neutralHadronEnergyFraction()>0.99) continue;
241  if(jets[ijet1].neutralEmEnergyFraction()>0.99) continue;
242  for(unsigned int ijet2=ijet1+1; ijet2<jets.size(); ijet2++){
243  if(jets[ijet2].neutralHadronEnergyFraction()>0.99) continue;
244  if(jets[ijet2].neutralEmEnergyFraction()>0.99) continue;
245  //
246  reco_ejet1 = jets[ijet1].energy();
247  //reco_etjet1 = jets[ijet1].et();
248  reco_pxjet1 = jets[ijet1].momentum().X();
249  reco_pyjet1 = jets[ijet1].momentum().Y();
250  reco_pzjet1 = jets[ijet1].momentum().Z();
251  reco_ptjet1 = jets[ijet1].pt();
252  reco_etajet1 = jets[ijet1].eta();
253  reco_phijet1 = jets[ijet1].phi();
254  //
255  reco_ejet2 = jets[ijet2].energy();
256  //reco_etjet2 = jets[ijet2].et();
257  reco_pxjet2 = jets[ijet2].momentum().X();
258  reco_pyjet2 = jets[ijet2].momentum().Y();
259  reco_pzjet2 = jets[ijet2].momentum().Z();
260  reco_ptjet2 = jets[ijet2].pt();
261  reco_etajet2 = jets[ijet2].eta();
262  reco_phijet2 = jets[ijet2].phi();
263  //
270 
271  //
272  if(reco_ptjet1 < minPtHigh_) continue;
273  if(reco_ptjet2 < minPtLow_) continue;
274  if(etaOpposite_ == true && reco_etajet1*reco_etajet2 > 0) continue;
275  if(std::abs(reco_deltaetajet) < minDeltaEta_) continue;
276  if(std::abs(reco_invmassjet) < minInvMass_) continue;
277 
278  //
279  if(debug_) cout<<"DEBUG-3"<<endl;
280  checkOffline = true;
281  break;
282  }
283  if(checkOffline == true) break;
284  }
285  if(checkOffline == false) return;
286 
287  //****************************************************
288  // Trigger efficiency: Loop for all VBF paths
289  //****************************************************
290  //const unsigned int numberOfPaths(hltConfig_.size());
291  const trigger::TriggerObjectCollection & toc(triggerObj_->getObjects());
292  for(PathInfoCollection::iterator v = hltPathsAll_.begin(); v!= hltPathsAll_.end(); ++v ){
293  checkHLT = false;
294  checkHLTIndex = false;
295 
296  //
297  v->getMEhisto_RECO_deltaEta_DiJet()->Fill(reco_deltaetajet);
298  v->getMEhisto_RECO_deltaPhi_DiJet()->Fill(reco_deltaphijet);
299  v->getMEhisto_RECO_invMass_DiJet()->Fill(reco_invmassjet);
300 
301  //
302  if(debug_) cout<<"DEBUG-4-0: Path loops"<<endl;
303 
304  //
305  if(isHLTPathAccepted(v->getPath())==false) continue;
306  checkHLT = true;
307 
308  //
309  if(debug_) cout<<"DEBUG-4-1: Path is accepted. Now we are looking for "<<v->getLabel()<<" module."<<endl;
310 
311  //
312  edm::InputTag hltTag(v->getLabel(),"",processname_);
313  const int hltIndex = triggerObj_->filterIndex(hltTag);
314  if(hltIndex >= triggerObj_->sizeFilters()) continue;
315  checkHLT = true;
316  if(debug_) cout<<"DEBUG-4-2: HLT module "<<v->getLabel()<<" exists"<<endl;
317  const trigger::Keys & khlt = triggerObj_->filterKeys(hltIndex);
318  trigger::Keys::const_iterator kj = khlt.begin();
319  for(; kj != khlt.end(); kj+=2){
320  if(debug_) cout<<"DEBUG-5"<<endl;
321  checkdR_sameOrder = false;
322  checkdR_crossOrder = false; //
323  hlt_ejet1 = toc[*kj].energy();
324  //hlt_etjet1 = toc[*kj].et();
325  hlt_pxjet1 = toc[*kj].px();
326  hlt_pyjet1 = toc[*kj].py();
327  hlt_pzjet1 = toc[*kj].pz();
328  hlt_ptjet1 = toc[*kj].pt();
329  hlt_etajet1 = toc[*kj].eta();
330  hlt_phijet1 = toc[*kj].phi();
331  //
332  hlt_ejet2 = toc[*(kj+1)].energy();
333  //hlt_etjet2 = toc[*(kj+1)].et();
334  hlt_pxjet2 = toc[*(kj+1)].px();
335  hlt_pyjet2 = toc[*(kj+1)].py();
336  hlt_pzjet2 = toc[*(kj+1)].pz();
337  hlt_ptjet2 = toc[*(kj+1)].pt();
338  hlt_etajet2 = toc[*(kj+1)].eta();
339  hlt_phijet2 = toc[*(kj+1)].phi();
340  //
347  if(checkdR_sameOrder == false && checkdR_crossOrder == false) continue;
348  checkHLTIndex = true;
349  //
350  if(debug_) cout<<"DEBUG-6: Match"<<endl;
353  if(checkdR_crossOrder){
356  }
361  v->getMEhisto_HLT_deltaEta_DiJet()->Fill(hlt_deltaetajet);
362  v->getMEhisto_HLT_deltaPhi_DiJet()->Fill(hlt_deltaphijet);
363  v->getMEhisto_HLT_invMass_DiJet()->Fill(hlt_invmassjet);
364  //
365  v->getMEhisto_RECO_deltaEta_DiJet_Match()->Fill(reco_deltaetajet);
366  v->getMEhisto_RECO_deltaPhi_DiJet_Match()->Fill(reco_deltaphijet);
367  v->getMEhisto_RECO_invMass_DiJet_Match()->Fill(reco_invmassjet);
368  //
369  v->getMEhisto_RECOHLT_deltaEta()->Fill(reco_deltaetajet,hlt_deltaetajet);
370  v->getMEhisto_RECOHLT_deltaPhi()->Fill(reco_deltaphijet,hlt_deltaphijet);
371  v->getMEhisto_RECOHLT_invMass()->Fill(reco_invmassjet,hlt_invmassjet);
372  //
373  if(checkHLTIndex==true) break;
374  }
375 
376  //****************************************************
377  // Match information
378  //****************************************************
379  if(checkHLT==true && checkHLTIndex==true){
380  if(debug_) cout<<"DEBUG-7: Match"<<endl;
381  v->getMEhisto_NumberOfMatches()->Fill(1);
382  }
383  else{
384  if(debug_) cout<<"DEBUG-8: Not match"<<endl;
385  v->getMEhisto_NumberOfMatches()->Fill(0);
386  }
387  }
388 
389 
390  //****************************************************
391  //
392  //****************************************************
393  for(PathInfoCollection::iterator v = hltPathsAll_.begin(); v!= hltPathsAll_.end(); ++v ){
394  if(isHLTPathAccepted(v->getPath())==false) continue;
395  if(debug_) cout<<"DEBUG-9: Loop for rate approximation: "<<v->getPath()<<endl;
400  check_mjj650_Pt40_DEta3p5 = false;
402  check_mjj750_Pt40_DEta3p5 = false;
404  edm::InputTag hltTag(v->getLabel(),"",processname_);
405  const int hltIndex = triggerObj_->filterIndex(hltTag);
406  if(hltIndex >= triggerObj_->sizeFilters()) continue;
407  const trigger::Keys & khlt = triggerObj_->filterKeys(hltIndex);
408  trigger::Keys::const_iterator kj = khlt.begin();
409  for(; kj != khlt.end(); kj+=2){
410  checkdR_sameOrder = false;
411  checkdR_crossOrder = false;
412  //
413  hlt_ejet1 = toc[*kj].energy();
414  //hlt_etjet1 = toc[*kj].et();
415  hlt_pxjet1 = toc[*kj].px();
416  hlt_pyjet1 = toc[*kj].py();
417  hlt_pzjet1 = toc[*kj].pz();
418  hlt_ptjet1 = toc[*kj].pt();
419  hlt_etajet1 = toc[*kj].eta();
420  hlt_phijet1 = toc[*kj].phi();
421  //
422  hlt_ejet2 = toc[*(kj+1)].energy();
423  //hlt_etjet2 = toc[*(kj+1)].et();
424  hlt_pxjet2 = toc[*(kj+1)].px();
425  hlt_pyjet2 = toc[*(kj+1)].py();
426  hlt_pzjet2 = toc[*(kj+1)].pz();
427  hlt_ptjet2 = toc[*(kj+1)].pt();
428  hlt_etajet2 = toc[*(kj+1)].eta();
429  hlt_phijet2 = toc[*(kj+1)].phi();
430  //
437  //
440  }
443  }
446  }
449  }
452  }
455  }
458  }
461  }
462  }
463  if(check_mjj650_Pt35_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(0);
464  if(check_mjj700_Pt35_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(1);
465  if(check_mjj750_Pt35_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(2);
466  if(check_mjj800_Pt35_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(3);
467  if(check_mjj650_Pt40_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(4);
468  if(check_mjj700_Pt40_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(5);
469  if(check_mjj750_Pt40_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(6);
470  if(check_mjj800_Pt40_DEta3p5==true) v->getMEhisto_NumberOfEvents()->Fill(7);
471  }
472 }
edm::EDGetTokenT< edm::TriggerResults > triggerResultsFUToken
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
Definition: Event.cc:199
PathInfoCollection hltPathsAll_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:446
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryToken
edm::Handle< trigger::TriggerEvent > triggerObj_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken
double deltaR(const T1 &t1, const T2 &t2)
Definition: deltaR.h:48
T eta() const
edm::EDGetTokenT< edm::View< reco::PFJet > > pfJetsToken
T sqrt(T t)
Definition: SSEVec.h:48
vector< PseudoJet > jets
edm::EDGetTokenT< edm::View< reco::PFMET > > pfMetToken
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
bool isValid() const
Definition: HandleBase.h:76
edm::TriggerNames triggerNames_
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Definition: TriggerObject.h:81
double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:12
std::vector< size_type > Keys
virtual bool isHLTPathAccepted(std::string pathName)
tuple cout
Definition: gather_cfg.py:121
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryFUToken
edm::Handle< edm::TriggerResults > triggerResults_
Definition: DDAxes.h:10
void HLTInclusiveVBFSource::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 477 of file HLTInclusiveVBFSource.cc.

477  {
478 }
void HLTInclusiveVBFSource::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 705 of file HLTInclusiveVBFSource.cc.

706  {
707 }
void HLTInclusiveVBFSource::beginRun ( const edm::Run run,
const edm::EventSetup c 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 482 of file HLTInclusiveVBFSource.cc.

References gather_cfg::cout, dbe, debug_, TrackerOfflineValidation_Dqm_cff::dirName, dirname_, AlcaSiStripGainsHarvester_cff::DQMStore, filtername, MonitorElement::getTH1F(), MonitorElement::getTH2F(), hltConfig_, hltPathsAll_, i, HLTConfigProvider::init(), isSetup_, LogDebug, HLTConfigProvider::moduleLabels(), HLTConfigProvider::moduleType(), cppFunctionSkipper::operator, pathname, processname_, HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, indexGen::title, trigger::TriggerJet, HLTConfigProvider::triggerName(), and findQualityFiles::v.

482  {
483  if(!isSetup_){
484  DQMStore *dbe = 0;
485  dbe = Service<DQMStore>().operator->();
486  if (dbe) {
487  dbe->setCurrentFolder(dirname_);
488  dbe->rmdir(dirname_);
489  }
490  if (dbe) {
491  dbe->setCurrentFolder(dirname_);
492  }
493 
494  //--- htlConfig_
495  bool changed(true);
496  if (!hltConfig_.init(run, c, processname_, changed)) {
497  LogDebug("HLTInclusiveVBFSource") << "HLTConfigProvider failed to initialize.";
498  }
499 
500  const unsigned int numberOfPaths(hltConfig_.size());
501  for(unsigned int i=0; i!=numberOfPaths; ++i){
502  bool numFound = false;
504  filtername = "dummy";
505  unsigned int usedPrescale = 1;
506  unsigned int objectType = 0;
507  std::string triggerType = "";
508 
509  if(pathname.find("HLT_Di") == std::string::npos) continue;
510  if(pathname.find("Jet") == std::string::npos) continue;
511  if(pathname.find("MJJ") == std::string::npos) continue;
512  if(pathname.find("VBF_v") == std::string::npos) continue;
513 
514  if(debug_){
515  cout<<" - Startup:Path = "<<pathname<<endl;
516  //cout<<" - Startup:PS = "<<hltConfig_.prescaleSize()<<endl;
517  }
518 
519  triggerType = "DiJet_Trigger";
520  objectType = trigger::TriggerJet;
521 
522  // Checking if the trigger exist in HLT table or not
523  for (unsigned int i=0; i!=numberOfPaths; ++i) {
524  std::string HLTname = hltConfig_.triggerName(i);
525  if(HLTname == pathname)numFound = true;
526  }
527 
528  if(numFound==false) continue;
529  std::vector<std::string> numpathmodules = hltConfig_.moduleLabels(pathname);
530  std::vector<std::string>::iterator numpathmodule = numpathmodules.begin();
531  for(; numpathmodule!= numpathmodules.end(); ++numpathmodule){
532  edm::InputTag testTag(*numpathmodule,"",processname_);
533  if (hltConfig_.moduleType(*numpathmodule) == "HLTCaloJetVBFFilter"
534  || hltConfig_.moduleType(*numpathmodule) == "HLTPFJetVBFFilter")
535  {
536  filtername = *numpathmodule;
537  if(debug_) cout<<" - Startup:Module = "<<hltConfig_.moduleType(*numpathmodule)<<", FilterName = "<<filtername<<endl;
538  }
539 
540  }
541  if(debug_) cout<<" - Startup:Final filter = "<<filtername<<endl;
542 
543  if(objectType == 0 || numFound==false) continue;
544  //if(debug_){
545  //cout<<"Pathname = "<<pathname
546  // <<", Filtername = "<<filtername
547  // <<", ObjectType = "<<objectType<<endl;
548  //}
549  hltPathsAll_.push_back(PathInfo(usedPrescale, pathname, filtername, processname_, objectType, triggerType));
550  }//Loop over paths
551 
552  //if(debug_) cout<<"== end hltPathsEff_.push_back ======" << endl;
553 
554  std::string dirName = dirname_ + "/MonitorInclusiveVBFTrigger/";
555  for(PathInfoCollection::iterator v = hltPathsAll_.begin(); v!= hltPathsAll_.end(); ++v ){
556  if(debug_) cout<<"Storing: "<<v->getPath()<<", Prescale = "<<v->getprescaleUsed()<<endl;
557  //if(v->getprescaleUsed()!=1) continue;
558 
559  std::string subdirName = dirName + v->getPath();
560  std::string trigPath = "("+v->getPath()+")";
561  dbe->setCurrentFolder(subdirName);
562 
563  MonitorElement* RECO_deltaEta_DiJet;
564  MonitorElement* RECO_deltaPhi_DiJet;
565  MonitorElement* RECO_invMass_DiJet;
566  MonitorElement* HLT_deltaEta_DiJet;
567  MonitorElement* HLT_deltaPhi_DiJet;
568  MonitorElement* HLT_invMass_DiJet;
569  MonitorElement* RECO_deltaEta_DiJet_Match;
570  MonitorElement* RECO_deltaPhi_DiJet_Match;
571  MonitorElement* RECO_invMass_DiJet_Match;
572  MonitorElement* RECOHLT_deltaEta;
573  MonitorElement* RECOHLT_deltaPhi;
574  MonitorElement* RECOHLT_invMass;
575  MonitorElement* NumberOfMatches;
576  MonitorElement* NumberOfEvents;
577 
578  //dummy = dbe->bookFloat("dummy");
579  RECO_deltaEta_DiJet = dbe->bookFloat("RECO_deltaEta_DiJet");
580  RECO_deltaPhi_DiJet = dbe->bookFloat("RECO_deltaPhi_DiJet");
581  RECO_invMass_DiJet = dbe->bookFloat("RECO_invMass_DiJet");
582  HLT_deltaEta_DiJet = dbe->bookFloat("HLT_deltaEta_DiJet");
583  HLT_deltaPhi_DiJet = dbe->bookFloat("HLT_deltaPhi_DiJet ");
584  HLT_invMass_DiJet = dbe->bookFloat("HLT_invMass_DiJet");
585  RECO_deltaEta_DiJet_Match = dbe->bookFloat("RECO_deltaEta_DiJet_Match");
586  RECO_deltaPhi_DiJet_Match = dbe->bookFloat("RECO_deltaPhi_DiJet_Match");
587  RECO_invMass_DiJet_Match = dbe->bookFloat("RECO_invMass_DiJet_Match");
588  RECOHLT_deltaEta = dbe->bookFloat("RECOHLT_deltaEta");
589  RECOHLT_deltaPhi = dbe->bookFloat("RECOHLT_deltaPhi ");
590  RECOHLT_invMass = dbe->bookFloat("RECOHLT_invMass");
591  NumberOfMatches = dbe->bookFloat("NumberOfMatches");
592  NumberOfEvents = dbe->bookFloat("NumberOfEvents");
593 
594  std::string labelname("ME");
595  std::string histoname(labelname+"");
596  std::string title(labelname+"");
597 
598  //RECO_deltaEta_DiJet
599  histoname = labelname+"_RECO_deltaEta_DiJet";
600  title = labelname+"_RECO_deltaEta_DiJet "+trigPath;
601  RECO_deltaEta_DiJet = dbe->book1D(histoname.c_str(),title.c_str(),50,-10.,10.);
602  RECO_deltaEta_DiJet->getTH1F();
603 
604  //RECO_deltaPhi_DiJet
605  histoname = labelname+"_RECO_deltaPhi_DiJet";
606  title = labelname+"_RECO_deltaPhi_DiJet "+trigPath;
607  RECO_deltaPhi_DiJet = dbe->book1D(histoname.c_str(),title.c_str(),35,-3.5,3.5);
608  RECO_deltaPhi_DiJet->getTH1F();
609 
610  //RECO_invMass_DiJet
611  histoname = labelname+"_RECO_invMass_DiJet";
612  title = labelname+"_RECO_invMass_DiJet "+trigPath;
613  RECO_invMass_DiJet = dbe->book1D(histoname.c_str(),title.c_str(),100,500.,2000.);
614  RECO_invMass_DiJet->getTH1F();
615 
616  //HLT_deltaEta_DiJet
617  histoname = labelname+"_HLT_deltaEta_DiJet";
618  title = labelname+"_HLT_deltaEta_DiJet "+trigPath;
619  HLT_deltaEta_DiJet = dbe->book1D(histoname.c_str(),title.c_str(),50,-10.,10.);
620  HLT_deltaEta_DiJet->getTH1F();
621 
622  //HLT_deltaPhi_DiJet
623  histoname = labelname+"_HLT_deltaPhi_DiJet";
624  title = labelname+"_HLT_deltaPhi_DiJet "+trigPath;
625  HLT_deltaPhi_DiJet = dbe->book1D(histoname.c_str(),title.c_str(),35,-3.5,3.5);
626  HLT_deltaPhi_DiJet->getTH1F();
627 
628  //HLT_invMass_DiJet
629  histoname = labelname+"_HLT_invMass_DiJet";
630  title = labelname+"_HLT_invMass_DiJet "+trigPath;
631  HLT_invMass_DiJet = dbe->book1D(histoname.c_str(),title.c_str(),100,500.,2000.);
632  HLT_invMass_DiJet->getTH1F();
633 
634  //RECO_deltaEta_DiJet_Match
635  histoname = labelname+"_RECO_deltaEta_DiJet_Match";
636  title = labelname+"_RECO_deltaEta_DiJet_Match "+trigPath;
637  RECO_deltaEta_DiJet_Match = dbe->book1D(histoname.c_str(),title.c_str(),50,-10.,10.);
638  RECO_deltaEta_DiJet_Match->getTH1F();
639 
640  //RECO_deltaPhi_DiJet_Match
641  histoname = labelname+"_RECO_deltaPhi_DiJet_Match";
642  title = labelname+"_RECO_deltaPhi_DiJet_Match "+trigPath;
643  RECO_deltaPhi_DiJet_Match = dbe->book1D(histoname.c_str(),title.c_str(),35,-3.5,3.5);
644  RECO_deltaPhi_DiJet_Match->getTH1F();
645 
646  //RECO_invMass_DiJet_Match
647  histoname = labelname+"_RECO_invMass_DiJet_Match";
648  title = labelname+"_RECO_invMass_DiJet_Match "+trigPath;
649  RECO_invMass_DiJet_Match = dbe->book1D(histoname.c_str(),title.c_str(),100,500.,2000.);
650  RECO_invMass_DiJet_Match->getTH1F();
651 
652  //RECOHLT_deltaEta
653  histoname = labelname+"_RECOHLT_deltaEta";
654  title = labelname+"_RECOHLT_deltaEta "+trigPath;
655  RECOHLT_deltaEta = dbe->book2D(histoname.c_str(),title.c_str(),50,-10.,10.,50,-10.,10.);
656  RECOHLT_deltaEta->getTH2F();
657 
658  //RECOHLT_deltaPhi
659  histoname = labelname+"_RECOHLT_deltaPhi";
660  title = labelname+"_RECOHLT_deltaPhi "+trigPath;
661  RECOHLT_deltaPhi = dbe->book2D(histoname.c_str(),title.c_str(),35,-3.5,3.5,35,-3.5,3.5);
662  RECOHLT_deltaPhi->getTH2F();
663 
664  //RECOHLT_invMass
665  histoname = labelname+"_RECOHLT_invMass";
666  title = labelname+"_RECOHLT_invMass "+trigPath;
667  RECOHLT_invMass = dbe->book2D(histoname.c_str(),title.c_str(),100,500.,2000.,100,500.,2000.);
668  RECOHLT_invMass->getTH2F();
669 
670  //NumberOfMatches
671  histoname = labelname+"_NumberOfMatches ";
672  title = labelname+"_NumberOfMatches "+trigPath;
673  NumberOfMatches = dbe->book1D(histoname.c_str(),title.c_str(),2,0.,2.);
674  NumberOfMatches->getTH1F();
675 
676  //NumberOfEvents
677  histoname = labelname+"_NumberOfEvents";
678  title = labelname+"_NumberOfEvents "+trigPath;
679  NumberOfEvents = dbe->book1D(histoname.c_str(),title.c_str(),10,0.,10.);
680  NumberOfEvents->getTH1F();
681 
682  //}
683  v->setHistos(
684  RECO_deltaEta_DiJet,
685  RECO_deltaPhi_DiJet,
686  RECO_invMass_DiJet,
687  HLT_deltaEta_DiJet,
688  HLT_deltaPhi_DiJet,
689  HLT_invMass_DiJet,
690  RECO_deltaEta_DiJet_Match,
691  RECO_deltaPhi_DiJet_Match,
692  RECO_invMass_DiJet_Match,
693  RECOHLT_deltaEta,
694  RECOHLT_deltaPhi,
695  RECOHLT_invMass,
696  NumberOfMatches,
697  NumberOfEvents
698  );
699  //break;//We need only the first unprescale paths
700  }
701  }
702 }
#define LogDebug(id)
unsigned int size() const
number of trigger paths in trigger table
int i
Definition: DBlmapReader.cc:9
const std::string moduleType(const std::string &module) const
C++ class name of module.
const std::string & triggerName(unsigned int triggerIndex) const
PathInfoCollection hltPathsAll_
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
TH1F * getTH1F(void) const
HLTConfigProvider hltConfig_
tuple cout
Definition: gather_cfg.py:121
TH2F * getTH2F(void) const
void HLTInclusiveVBFSource::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 717 of file HLTInclusiveVBFSource.cc.

717  {
718  //delete jetID;
719 }
void HLTInclusiveVBFSource::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 711 of file HLTInclusiveVBFSource.cc.

712  {
713 }
void HLTInclusiveVBFSource::endRun ( const edm::Run run,
const edm::EventSetup c 
)
privatevirtual

EndRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 722 of file HLTInclusiveVBFSource.cc.

722  {
723  //if (debug_) std::cout << "endRun, run " << run.id() << std::endl;
724 }
bool HLTInclusiveVBFSource::isBarrel ( double  eta)
privatevirtual

Definition at line 726 of file HLTInclusiveVBFSource.cc.

References convertSQLitetoXML_cfg::output.

726  {
727  bool output = false;
728  if (fabs(eta)<=1.3) output=true;
729  return output;
730 }
T eta() const
bool HLTInclusiveVBFSource::isEndCap ( double  eta)
privatevirtual

Definition at line 732 of file HLTInclusiveVBFSource.cc.

References convertSQLitetoXML_cfg::output.

732  {
733  bool output = false;
734  if (fabs(eta)<=3.0 && fabs(eta)>1.3) output=true;
735  return output;
736 }
T eta() const
bool HLTInclusiveVBFSource::isForward ( double  eta)
privatevirtual

Definition at line 738 of file HLTInclusiveVBFSource.cc.

References convertSQLitetoXML_cfg::output.

738  {
739  bool output = false;
740  if (fabs(eta)>3.0) output=true;
741  return output;
742 }
T eta() const
bool HLTInclusiveVBFSource::isHLTPathAccepted ( std::string  pathName)
privatevirtual

Definition at line 754 of file HLTInclusiveVBFSource.cc.

References cmsHarvester::index, edm::HandleBase::isValid(), convertSQLitetoXML_cfg::output, edm::TriggerNames::size(), edm::TriggerNames::triggerIndex(), triggerNames_, and triggerResults_.

Referenced by analyze().

754  {
755  // triggerResults_, triggerNames_ has to be defined first before calling this method
756  bool output=false;
757  if(triggerResults_.isValid()) {
759  if(index < triggerNames_.size() && triggerResults_->accept(index)) output = true;
760  }
761  return output;
762 }
Strings::size_type size() const
Definition: TriggerNames.cc:39
unsigned int triggerIndex(std::string const &name) const
Definition: TriggerNames.cc:32
bool isValid() const
Definition: HandleBase.h:76
edm::TriggerNames triggerNames_
edm::Handle< edm::TriggerResults > triggerResults_
bool HLTInclusiveVBFSource::isTriggerObjectFound ( std::string  objectName)
privatevirtual

Definition at line 764 of file HLTInclusiveVBFSource.cc.

References cmsHarvester::index, roll_playback::k, convertSQLitetoXML_cfg::output, processname_, and triggerObj_.

764  {
765  // processname_, triggerObj_ has to be defined before calling this method
766  bool output=false;
768  const int index = triggerObj_->filterIndex(testTag);
769  if ( index >= triggerObj_->sizeFilters() ) {
770  edm::LogInfo("HLTInclusiveVBFSource") << "no index "<< index << " of that name ";
771  } else {
772  const trigger::Keys & k = triggerObj_->filterKeys(index);
773  if (k.size()) output=true;
774  }
775  return output;
776 }
edm::Handle< trigger::TriggerEvent > triggerObj_
std::vector< size_type > Keys
bool HLTInclusiveVBFSource::validPathHLT ( std::string  path)
privatevirtual

Definition at line 744 of file HLTInclusiveVBFSource.cc.

References hltConfig_, j, convertSQLitetoXML_cfg::output, pathname, HLTConfigProvider::size(), and HLTConfigProvider::triggerName().

744  {
745  // hltConfig_ has to be defined first before calling this method
746  bool output=false;
747  for (unsigned int j=0; j!=hltConfig_.size(); ++j) {
748  if (hltConfig_.triggerName(j) == pathname )
749  output=true;
750  }
751  return output;
752 }
unsigned int size() const
number of trigger paths in trigger table
const std::string & triggerName(unsigned int triggerIndex) const
int j
Definition: DBlmapReader.cc:9
HLTConfigProvider hltConfig_

Member Data Documentation

reco::CaloJetCollection HLTInclusiveVBFSource::calojet
private

Definition at line 115 of file HLTInclusiveVBFSource.h.

edm::Handle<reco::CaloJetCollection> HLTInclusiveVBFSource::calojetColl_
private

Definition at line 110 of file HLTInclusiveVBFSource.h.

edm::EDGetTokenT<reco::CaloJetCollection> HLTInclusiveVBFSource::caloJetsToken
private

Definition at line 107 of file HLTInclusiveVBFSource.h.

Referenced by HLTInclusiveVBFSource().

edm::Handle<reco::CaloMETCollection> HLTInclusiveVBFSource::calometColl_
private

Definition at line 111 of file HLTInclusiveVBFSource.h.

edm::EDGetTokenT<reco::CaloMETCollection> HLTInclusiveVBFSource::caloMetToken
private

Definition at line 108 of file HLTInclusiveVBFSource.h.

Referenced by HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj650_Pt35_DEta3p5
private

Definition at line 119 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj650_Pt40_DEta3p5
private

Definition at line 123 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj700_Pt35_DEta3p5
private

Definition at line 120 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj700_Pt40_DEta3p5
private

Definition at line 124 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj750_Pt35_DEta3p5
private

Definition at line 121 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj750_Pt40_DEta3p5
private

Definition at line 125 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj800_Pt35_DEta3p5
private

Definition at line 122 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::check_mjj800_Pt40_DEta3p5
private

Definition at line 126 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::checkdR_crossOrder
private

Definition at line 176 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

bool HLTInclusiveVBFSource::checkdR_sameOrder
private

Definition at line 175 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

bool HLTInclusiveVBFSource::checkHLT
private

Definition at line 168 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

bool HLTInclusiveVBFSource::checkHLTIndex
private

Definition at line 169 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

bool HLTInclusiveVBFSource::checkOffline
private

Definition at line 167 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

DQMStore* HLTInclusiveVBFSource::dbe
private

Definition at line 75 of file HLTInclusiveVBFSource.h.

Referenced by beginRun(), and HLTInclusiveVBFSource().

bool HLTInclusiveVBFSource::debug_
private

Definition at line 84 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), beginRun(), and HLTInclusiveVBFSource().

double HLTInclusiveVBFSource::deltaRMatch_
private

Definition at line 91 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

std::string HLTInclusiveVBFSource::dirname_
private

Definition at line 79 of file HLTInclusiveVBFSource.h.

Referenced by beginRun(), and HLTInclusiveVBFSource().

float HLTInclusiveVBFSource::dR_HLT_RECO_11
private

Definition at line 171 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

float HLTInclusiveVBFSource::dR_HLT_RECO_12
private

Definition at line 173 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

float HLTInclusiveVBFSource::dR_HLT_RECO_21
private

Definition at line 174 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

float HLTInclusiveVBFSource::dR_HLT_RECO_22
private

Definition at line 172 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

bool HLTInclusiveVBFSource::etaOpposite_
private

Definition at line 92 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

std::string HLTInclusiveVBFSource::filtername
private

Definition at line 129 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and beginRun().

double HLTInclusiveVBFSource::hlt_deltaetajet
private

Definition at line 181 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_deltaphijet
private

Definition at line 182 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_ejet1
private

Definition at line 149 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_ejet2
private

Definition at line 158 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_etajet1
private

Definition at line 155 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_etajet2
private

Definition at line 164 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_invmassjet
private

Definition at line 183 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_phijet1
private

Definition at line 156 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_phijet2
private

Definition at line 165 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_ptjet1
private

Definition at line 154 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_ptjet2
private

Definition at line 163 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_pxjet1
private

Definition at line 151 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_pxjet2
private

Definition at line 160 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_pyjet1
private

Definition at line 152 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_pyjet2
private

Definition at line 161 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_pzjet1
private

Definition at line 153 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::hlt_pzjet2
private

Definition at line 162 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

HLTConfigProvider HLTInclusiveVBFSource::hltConfig_
private

Definition at line 117 of file HLTInclusiveVBFSource.h.

Referenced by beginRun(), and validPathHLT().

PathInfoCollection HLTInclusiveVBFSource::hltPathsAll_
private

Definition at line 322 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and beginRun().

bool HLTInclusiveVBFSource::isSetup_
private

Definition at line 85 of file HLTInclusiveVBFSource.h.

Referenced by beginRun().

double HLTInclusiveVBFSource::minDeltaEta_
private

Definition at line 89 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

double HLTInclusiveVBFSource::minInvMass_
private

Definition at line 90 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

double HLTInclusiveVBFSource::minPtHigh_
private

Definition at line 87 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

double HLTInclusiveVBFSource::minPtLow_
private

Definition at line 88 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

int HLTInclusiveVBFSource::nCount_
private

Definition at line 74 of file HLTInclusiveVBFSource.h.

Referenced by HLTInclusiveVBFSource().

std::vector<std::string> HLTInclusiveVBFSource::path_
private
std::string HLTInclusiveVBFSource::pathname
private

Definition at line 128 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), beginRun(), and validPathHLT().

reco::PFJetCollection HLTInclusiveVBFSource::pfjet
private

Definition at line 116 of file HLTInclusiveVBFSource.h.

edm::Handle<reco::PFJetCollection> HLTInclusiveVBFSource::pfjetColl_
private

Definition at line 112 of file HLTInclusiveVBFSource.h.

edm::EDGetTokenT<edm::View<reco::PFJet> > HLTInclusiveVBFSource::pfJetsToken
private

Definition at line 105 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

edm::Handle<reco::PFMETCollection> HLTInclusiveVBFSource::pfmetColl_
private

Definition at line 113 of file HLTInclusiveVBFSource.h.

edm::EDGetTokenT<edm::View<reco::PFMET> > HLTInclusiveVBFSource::pfMetToken
private

Definition at line 106 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

std::vector<int> HLTInclusiveVBFSource::prescUsed_
private

Definition at line 77 of file HLTInclusiveVBFSource.h.

std::string HLTInclusiveVBFSource::processname_
private
double HLTInclusiveVBFSource::reco_deltaetajet
private

Definition at line 178 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_deltaphijet
private

Definition at line 179 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_ejet1
private

Definition at line 131 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_ejet2
private

Definition at line 140 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_etajet1
private

Definition at line 137 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_etajet2
private

Definition at line 146 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_invmassjet
private

Definition at line 180 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_phijet1
private

Definition at line 138 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_phijet2
private

Definition at line 147 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_ptjet1
private

Definition at line 136 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_ptjet2
private

Definition at line 145 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_pxjet1
private

Definition at line 133 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_pxjet2
private

Definition at line 142 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_pyjet1
private

Definition at line 134 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_pyjet2
private

Definition at line 143 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_pzjet1
private

Definition at line 135 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

double HLTInclusiveVBFSource::reco_pzjet2
private

Definition at line 144 of file HLTInclusiveVBFSource.h.

Referenced by analyze().

edm::TriggerNames HLTInclusiveVBFSource::triggerNames_
private

Definition at line 98 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and isHLTPathAccepted().

edm::Handle<trigger::TriggerEvent> HLTInclusiveVBFSource::triggerObj_
private

Definition at line 95 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and isTriggerObjectFound().

edm::Handle<edm::TriggerResults> HLTInclusiveVBFSource::triggerResults_
private

Definition at line 97 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and isHLTPathAccepted().

edm::EDGetTokenT<edm::TriggerResults> HLTInclusiveVBFSource::triggerResultsFUToken
private

Definition at line 101 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

edm::InputTag HLTInclusiveVBFSource::triggerResultsLabel_
private

Definition at line 96 of file HLTInclusiveVBFSource.h.

Referenced by HLTInclusiveVBFSource().

edm::EDGetTokenT<edm::TriggerResults> HLTInclusiveVBFSource::triggerResultsToken
private

Definition at line 100 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

edm::EDGetTokenT<trigger::TriggerEvent> HLTInclusiveVBFSource::triggerSummaryFUToken
private

Definition at line 103 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().

edm::InputTag HLTInclusiveVBFSource::triggerSummaryLabel_
private

Definition at line 94 of file HLTInclusiveVBFSource.h.

Referenced by HLTInclusiveVBFSource().

edm::EDGetTokenT<trigger::TriggerEvent> HLTInclusiveVBFSource::triggerSummaryToken
private

Definition at line 102 of file HLTInclusiveVBFSource.h.

Referenced by analyze(), and HLTInclusiveVBFSource().