test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Validation
Mixing
interface
TestSuite.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Class: TestSuite
4
//
10
//
11
// Original Author: Ursula Berthon
12
// Created: Fri Sep 23 11:38:38 CEST 2005
13
//
14
//
15
16
17
// system include files
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
20
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/Framework/interface/MakerMacros.h
"
23
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/Utilities/interface/InputTag.h
"
26
27
#include "
SimDataFormats/CrossingFrame/interface/CrossingFrame.h
"
28
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
29
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
30
31
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
32
#include "
SimDataFormats/CaloHit/interface/PCaloHitContainer.h
"
33
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
34
#include "
SimDataFormats/Vertex/interface/SimVertexContainer.h
"
35
36
//DQM services for histogram
37
#include "
DQMServices/Core/interface/DQMStore.h
"
38
#include "
FWCore/ServiceRegistry/interface/Service.h
"
39
40
class
TFile;
41
42
//
43
// class declaration
44
//
45
46
class
TestSuite
:
public
edm::EDAnalyzer
{
47
public
:
48
explicit
TestSuite
(
const
edm::ParameterSet
&);
49
~TestSuite
();
50
51
52
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
53
virtual
void
beginJob
();
54
virtual
void
endJob
();
55
56
private
:
57
std::string
filename_
;
58
int
bunchcr_
;
59
int
minbunch_
;
60
int
maxbunch_
;
61
DQMStore
*
dbe_
;
62
63
edm::EDGetTokenT<CrossingFrame<SimTrack>
>
cfTrackToken_
;
64
edm::EDGetTokenT<CrossingFrame<SimTrack>
>
cfVertexToken_
;
65
edm::EDGetTokenT<CrossingFrame<PSimHit>
>
g4SimHits_Token_
;
66
edm::EDGetTokenT<CrossingFrame<PCaloHit>
>
g4SimHits_Ecal_Token_
;
67
edm::EDGetTokenT<CrossingFrame<PCaloHit>
>
g4SimHits_HCal_Token_
;
68
};
PCaloHitContainer.h
TestSuite::cfVertexToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition:
TestSuite.h:64
TestSuite::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TestSuite.cc:70
TestSuite::endJob
virtual void endJob()
Definition:
TestSuite.cc:62
Event.h
TestSuite::maxbunch_
int maxbunch_
Definition:
TestSuite.h:60
CrossingFrame.h
MakerMacros.h
TestSuite::~TestSuite
~TestSuite()
Definition:
TestSuite.cc:47
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
TestSuite::TestSuite
TestSuite(const edm::ParameterSet &)
Definition:
TestSuite.cc:30
MixCollection.h
ParameterSet.h
TestSuite::minbunch_
int minbunch_
Definition:
TestSuite.h:59
DQMStore
Definition:
DQMStore.h:75
TestSuite::cfTrackToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition:
TestSuite.h:63
TestSuite::dbe_
DQMStore * dbe_
Definition:
TestSuite.h:61
DQMStore.h
PSimHitContainer.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
TestSuite::g4SimHits_Token_
edm::EDGetTokenT< CrossingFrame< PSimHit > > g4SimHits_Token_
Definition:
TestSuite.h:65
TestSuite::g4SimHits_HCal_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_HCal_Token_
Definition:
TestSuite.h:67
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
TestSuite::filename_
std::string filename_
Definition:
TestSuite.h:57
TestSuite
Definition:
TestSuite.h:46
PSimHit.h
SimTrackContainer.h
InputTag.h
TestSuite::g4SimHits_Ecal_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_Ecal_Token_
Definition:
TestSuite.h:66
edm::ParameterSet
Definition:
ParameterSet.h:36
TestSuite::beginJob
virtual void beginJob()
Definition:
TestSuite.cc:54
edm::Event
Definition:
Event.h:65
TestSuite::bunchcr_
int bunchcr_
Definition:
TestSuite.h:58
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.5