CMS 3D CMS Logo

TtSemiLepJetCombWMassMaxSumPt.h
Go to the documentation of this file.
1 #ifndef TtSemiLepJetCombWMassMaxSumPt_h
2 #define TtSemiLepJetCombWMassMaxSumPt_h
3 
6 
9 
11 public:
14 
15 private:
16  void beginJob() override{};
17  void produce(edm::Event& evt, const edm::EventSetup& setup) override;
18  void endJob() override{};
19 
20  bool isValid(const int& idx, const edm::Handle<std::vector<pat::Jet> >& jets) {
21  return (0 <= idx && idx < (int)jets->size());
22  };
23 
26  int maxNJets_;
27  double wMass_;
32 };
33 
34 #endif
TtSemiLepJetCombWMassMaxSumPt::TtSemiLepJetCombWMassMaxSumPt
TtSemiLepJetCombWMassMaxSumPt(const edm::ParameterSet &)
Definition: TtSemiLepJetCombWMassMaxSumPt.cc:5
TtSemiLepJetCombWMassMaxSumPt::isValid
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
Definition: TtSemiLepJetCombWMassMaxSumPt.h:20
EDProducer.h
TtSemiLepJetCombWMassMaxSumPt::wMass_
double wMass_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:27
TtSemiLepJetCombWMassMaxSumPt::minBDiscBJets_
double minBDiscBJets_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:30
edm::EDGetTokenT
Definition: EDGetToken.h:33
charmTagsComputerCvsB_cfi.idx
idx
Definition: charmTagsComputerCvsB_cfi.py:108
TtSemiLepJetCombWMassMaxSumPt::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition: TtSemiLepJetCombWMassMaxSumPt.cc:24
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
TtSemiLepJetCombWMassMaxSumPt::~TtSemiLepJetCombWMassMaxSumPt
~TtSemiLepJetCombWMassMaxSumPt() override
Definition: TtSemiLepJetCombWMassMaxSumPt.cc:22
TtSemiLepEvtPartons.h
edm::Handle
Definition: AssociativeIterator.h:50
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
TtSemiLepJetCombWMassMaxSumPt::bTagAlgorithm_
std::string bTagAlgorithm_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:29
TtSemiLepJetCombWMassMaxSumPt::useBTagging_
bool useBTagging_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TtSemiLepJetCombWMassMaxSumPt::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:22
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
TtSemiLepJetCombWMassMaxSumPt
Definition: TtSemiLepJetCombWMassMaxSumPt.h:10
edm::EventSetup
Definition: EventSetup.h:57
Jet.h
TtSemiLepJetCombWMassMaxSumPt::maxNJets_
int maxNJets_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:26
TtSemiLepJetCombWMassMaxSumPt::endJob
void endJob() override
Definition: TtSemiLepJetCombWMassMaxSumPt.h:18
TtSemiLepJetCombWMassMaxSumPt::maxBDiscLightJets_
double maxBDiscLightJets_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:31
TtSemiLepJetCombWMassMaxSumPt::lepsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
Definition: TtSemiLepJetCombWMassMaxSumPt.h:25
edm::EDProducer
Definition: EDProducer.h:36
TtSemiLepJetCombWMassMaxSumPt::beginJob
void beginJob() override
Definition: TtSemiLepJetCombWMassMaxSumPt.h:16
edm::Event
Definition: Event.h:73