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 {
52  public:
53  explicit TestMixedSource(const edm::ParameterSet &);
54  ~TestMixedSource() override;
55 
56  private:
57  void beginJob() override;
58  void analyze(const edm::Event &, const edm::EventSetup &) override;
59  void endJob() override;
60 
61  // ----------member data ---------------------------
62  std::ofstream outputFile;
64  int bunchcr_;
65  int minbunch_;
66  int maxbunch_;
73  TH1I *tofhist_;
74  TH1I *tofhist_sig_;
78  TFile *histFile_;
79 
82 
84 
88  };
89 } // namespace edm
90 #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