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;
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 
98 };
99 
100 #endif
const edm::EDGetTokenT< edm::View< pat::Photon > > photons_
const edm::EDGetTokenT< edm::View< pat::Jet > > jets_
const StringCutObjectSelector< pat::Jet > jetSel_
const StringCutObjectSelector< pat::Muon > muonSel_
const edm::EDGetTokenT< edm::View< pat::Tau > > taus_
const StringCutObjectSelector< pat::Photon > photonSel_
edm::EDGetTokenT< edm::View< pat::Electron > > lowPtElectrons_
void beginStream(edm::StreamID) override
void produce(edm::Event &, const edm::EventSetup &) override
const std::string lowPtElectronName_
const StringCutObjectSelector< pat::Tau > tauSel_
const edm::EDGetTokenT< edm::View< pat::Electron > > electrons_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const StringCutObjectSelector< pat::Electron > electronSel_
const edm::EDGetTokenT< edm::View< pat::Muon > > muons_
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)
NanoAODBaseCrossCleaner(const edm::ParameterSet &)
const StringCutObjectSelector< pat::Electron > lowPtElectronSel_