CMS 3D CMS Logo

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