CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SecSourceAnalyzer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: SecSourceAnalyzer
4 // Class: SecSourceAnalyzer
5 //
8 //
9 // Original Author: Emilia Lubenova Becheva
10 // Created: Wed Apr 22 16:54:31 CEST 2009
11 //
12 //
13 
14 #ifndef SecSourceAnalyzer_h
15 #define SecSourceAnalyzer_h
16 
17 // system include files
18 #include <memory>
19 
20 // user include files
23 
26 
28 
30 
32 
33 //
34 // class declaration
35 //
36 namespace edm {
37 
38  class ModuleCallingContext;
39 
41  public:
42  explicit SecSourceAnalyzer(const edm::ParameterSet&);
43  ~SecSourceAnalyzer() override;
44 
45  bool getBranches(EventPrincipal const& ep, ModuleCallingContext const*);
46  bool dummyFunction(EventPrincipal const& ep) { return true; }
47 
48  private:
49  void beginJob() override;
50  void analyze(const edm::Event&, const edm::EventSetup&) override;
51  void endJob() override;
52 
53  // ----------member data ---------------------------
54  int minBunch_;
55  int maxBunch_;
56 
57  bool dataStep2_;
59 
60  std::vector<std::vector<edm::SecondaryEventIDAndFileInfo> > vectorEventIDs_;
61 
62  std::unique_ptr<PileUp> input_;
63  std::vector<float> TrueNumInteractions_[5];
64 
66  };
67 } // namespace edm
68 #endif
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< float > TrueNumInteractions_[5]
std::unique_ptr< PileUp > input_
bool getBranches(EventPrincipal const &ep, ModuleCallingContext const *)
bool dummyFunction(EventPrincipal const &ep)
SecSourceAnalyzer(const edm::ParameterSet &)
std::vector< std::vector< edm::SecondaryEventIDAndFileInfo > > vectorEventIDs_