CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
40 //
41 // class decleration
42 //
43 namespace edm
44 {
46  public:
47  explicit TestMixedSource(const edm::ParameterSet&);
49 
50  private:
51  virtual void beginJob() override ;
52  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
53  virtual void endJob() override ;
54 
55  // ----------member data ---------------------------
56  std::ofstream outputFile;
58  int bunchcr_;
59  int minbunch_;
60  int maxbunch_;
67  TH1I * tofhist_;
68  TH1I * tofhist_sig_;
72  TFile *histFile_;
73 
76 
78 
82 
83 };
84 }//edm
85 #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
edm::EDGetTokenT< CrossingFrame< edm::HepMCProduct > > HepMCToken_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void endJob() override
TestMixedSource(const edm::ParameterSet &)
virtual void beginJob() override