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 
23 // system include files
24 #include <memory>
25 
26 // user include files
29 
32 
35 
41 
44 
45 //
46 // class declaration
47 //
48 
50  public:
52  ~NanoAODBaseCrossCleaner() override;
53 
54  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
55 
56  private:
57  void beginStream(edm::StreamID) override;
58  void produce(edm::Event&, const edm::EventSetup&) override;
59  void endStream() override;
62  std::vector<uint8_t> & jetBits, std::vector<uint8_t> & muonBits, std::vector<uint8_t> & eleBits,
63  std::vector<uint8_t> & tauBits, std::vector<uint8_t> & photonBits) {};
64 
65  //virtual void beginRun(edm::Run const&, edm::EventSetup const&) override;
66  //virtual void endRun(edm::Run const&, edm::EventSetup const&) override;
67  //virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
68  //virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
69 
70  // ----------member data ---------------------------
71  const std::string name_;
73 
89 
90 
91 };
92 
93 #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_
vector< PseudoJet > jets
const StringCutObjectSelector< pat::Photon > photonSel_
void beginStream(edm::StreamID) override
void produce(edm::Event &, const edm::EventSetup &) override
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 &)