CMS 3D CMS Logo

NanoAODBaseCrossCleaner.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_NanoAOD_NanoAODBaseCrossCleaner_h
2 #define PhysicsTools_NanoAOD_NanoAODBaseCrossCleaner_h
3 
4 // -*- C++ -*-
5 //
6 // Package: PhysicsTools/NanoAOD
7 // Class: NanoAODBaseCrossCleaner
8 //
16 //
17 // Original Author: Andrea Rizzi
18 // Created: Mon, 28 Aug 2017 09:26:39 GMT
19 //
20 //
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
34 
40 
43 
44 //
45 // class declaration
46 //
47 
49 public:
51  ~NanoAODBaseCrossCleaner() override;
52 
53  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
54 
55 private:
56  void beginStream(edm::StreamID) override;
57  void produce(edm::Event&, const edm::EventSetup&) override;
58  void endStream() override;
61  const edm::View<pat::Electron>& eles,
64  std::vector<uint8_t>& jetBits,
65  std::vector<uint8_t>& muonBits,
66  std::vector<uint8_t>& eleBits,
67  std::vector<uint8_t>& tauBits,
68  std::vector<uint8_t>& photonBits){};
69 
70  //virtual void beginRun(edm::Run const&, edm::EventSetup const&) override;
71  //virtual void endRun(edm::Run const&, edm::EventSetup const&) override;
72  //virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
73  //virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
74 
75  // ----------member data ---------------------------
76  const std::string name_;
78 
94 };
95 
96 #endif
edm::StreamID
Definition: StreamID.h:30
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
NanoAODBaseCrossCleaner::electronSel_
const StringCutObjectSelector< pat::Electron > electronSel_
Definition: NanoAODBaseCrossCleaner.h:86
NanoAODBaseCrossCleaner::endStream
void endStream() override
Definition: NanoAODBaseCrossCleaner.cc:124
NanoAODBaseCrossCleaner::objectSelection
virtual void objectSelection(const edm::View< pat::Jet > &jets, const edm::View< pat::Muon > &muons, const edm::View< pat::Electron > &eles, const edm::View< pat::Tau > &taus, const edm::View< pat::Photon > &photons, std::vector< uint8_t > &jetBits, std::vector< uint8_t > &muonBits, std::vector< uint8_t > &eleBits, std::vector< uint8_t > &tauBits, std::vector< uint8_t > &photonBits)
Definition: NanoAODBaseCrossCleaner.h:59
NanoAODBaseCrossCleaner::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: NanoAODBaseCrossCleaner.cc:127
edm::EDGetTokenT
Definition: EDGetToken.h:33
Tau3MuMonitor_cff.taus
taus
Definition: Tau3MuMonitor_cff.py:7
Muon.h
Photon.h
NanoAODBaseCrossCleaner::jetSel_
const StringCutObjectSelector< pat::Jet > jetSel_
Definition: NanoAODBaseCrossCleaner.h:84
EDProducer.h
NanoAODBaseCrossCleaner::name_
const std::string name_
Definition: NanoAODBaseCrossCleaner.h:68
NanoAODBaseCrossCleaner::NanoAODBaseCrossCleaner
NanoAODBaseCrossCleaner(const edm::ParameterSet &)
Definition: NanoAODBaseCrossCleaner.cc:25
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
NanoAODBaseCrossCleaner::photonSel_
const StringCutObjectSelector< pat::Photon > photonSel_
Definition: NanoAODBaseCrossCleaner.h:88
NanoAODBaseCrossCleaner::tauName_
const std::string tauName_
Definition: NanoAODBaseCrossCleaner.h:92
Tau.h
NanoAODBaseCrossCleaner::jetName_
const std::string jetName_
Definition: NanoAODBaseCrossCleaner.h:89
NanoAODBaseCrossCleaner::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: NanoAODBaseCrossCleaner.cc:63
MakerMacros.h
NanoAODBaseCrossCleaner::tauSel_
const StringCutObjectSelector< pat::Tau > tauSel_
Definition: NanoAODBaseCrossCleaner.h:87
NanoAODBaseCrossCleaner::jets_
const edm::EDGetTokenT< edm::View< pat::Jet > > jets_
Definition: NanoAODBaseCrossCleaner.h:79
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
NanoAODBaseCrossCleaner::muonSel_
const StringCutObjectSelector< pat::Muon > muonSel_
Definition: NanoAODBaseCrossCleaner.h:85
edm::View
Definition: CaloClusterFwd.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
NanoAODBaseCrossCleaner::taus_
const edm::EDGetTokenT< edm::View< pat::Tau > > taus_
Definition: NanoAODBaseCrossCleaner.h:82
NanoAODBaseCrossCleaner::muons_
const edm::EDGetTokenT< edm::View< pat::Muon > > muons_
Definition: NanoAODBaseCrossCleaner.h:80
edm::stream::EDProducer
Definition: EDProducer.h:38
NanoAODBaseCrossCleaner::photonName_
const std::string photonName_
Definition: NanoAODBaseCrossCleaner.h:93
BPHMonitor_cfi.photons
photons
Definition: BPHMonitor_cfi.py:91
edm::EventSetup
Definition: EventSetup.h:58
Jet.h
StringCutObjectSelector.h
Frameworkfwd.h
StringCutObjectSelector< pat::Jet >
NanoAODBaseCrossCleaner::beginStream
void beginStream(edm::StreamID) override
Definition: NanoAODBaseCrossCleaner.cc:121
NanoAODBaseCrossCleaner
Definition: NanoAODBaseCrossCleaner.h:48
Electron.h
NanoAODBaseCrossCleaner::doc_
const std::string doc_
Definition: NanoAODBaseCrossCleaner.h:77
NanoAODBaseCrossCleaner::~NanoAODBaseCrossCleaner
~NanoAODBaseCrossCleaner() override
Definition: NanoAODBaseCrossCleaner.cc:52
View.h
NanoAODBaseCrossCleaner::photons_
const edm::EDGetTokenT< edm::View< pat::Photon > > photons_
Definition: NanoAODBaseCrossCleaner.h:83
ParameterSet.h
edm::Event
Definition: Event.h:73
StreamID.h
NanoAODBaseCrossCleaner::muonName_
const std::string muonName_
Definition: NanoAODBaseCrossCleaner.h:90
NanoAODBaseCrossCleaner::electronName_
const std::string electronName_
Definition: NanoAODBaseCrossCleaner.h:91
NanoAODBaseCrossCleaner::electrons_
const edm::EDGetTokenT< edm::View< pat::Electron > > electrons_
Definition: NanoAODBaseCrossCleaner.h:81