CMS 3D CMS Logo

TestMixedSource.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TestMixedSource
4 // Class: TestMixedSource
5 //
13 //
14 // Original Author: Emilia Lubenova Becheva
15 // Created: Wed May 20 16:46:58 CEST 2009
16 //
17 //
18 
19 #ifndef TestMixedSource_h
20 #define TestMixedSource_h
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
33 
34 #include "TH1I.h"
35 #include "TFile.h"
36 
37 #include <iostream>
38 #include <fstream>
39 
46 
47 //
48 // class decleration
49 //
50 namespace edm
51 {
53  public:
54  explicit TestMixedSource(const edm::ParameterSet&);
55  ~TestMixedSource() override;
56 
57  private:
58  void beginJob() override ;
59  void analyze(const edm::Event&, const edm::EventSetup&) override;
60  void endJob() override ;
61 
62  // ----------member data ---------------------------
63  std::ofstream outputFile;
65  int bunchcr_;
66  int minbunch_;
67  int maxbunch_;
74  TH1I * tofhist_;
75  TH1I * tofhist_sig_;
79  TFile *histFile_;
80 
83 
85 
89 
90 };
91 }//edm
92 #endif
TH1I * histPSimHit_bunchPileups_TrackerHitsTECHighTof_
TH1I * histPSimHit_bunchSignal_MuonCSCHits_
TH1I * histPSimHit_bunchPileups_MuonCSCHits_
edm::EDGetTokenT< CrossingFrame< PSimHit > > TrackerToken0_
edm::EDGetTokenT< CrossingFrame< SimTrack > > SimTrackToken_
TH1I * histPSimHit_bunchSignal_TrackerHitsTECHighTof_
edm::EDGetTokenT< CrossingFrame< PSimHit > > MuonToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > CaloToken1_
edm::EDGetTokenT< CrossingFrame< SimVertex > > SimVertexToken_
std::ofstream outputFile
HLT enums.
edm::EDGetTokenT< CrossingFrame< edm::HepMCProduct > > HepMCToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
void endJob() override
TestMixedSource(const edm::ParameterSet &)
void beginJob() override