Main Page
Namespaces
Classes
Package Documentation
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
()
override
;
50
51
52
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
53
void
beginJob
()
override
;
54
void
endJob
()
override
;
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::beginJob
void beginJob() override
Definition:
TestSuite.cc:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
TestSuite::maxbunch_
int maxbunch_
Definition:
TestSuite.h:60
CrossingFrame.h
MakerMacros.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
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:78
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
TestSuite::~TestSuite
~TestSuite() override
Definition:
TestSuite.cc:47
TestSuite::endJob
void endJob() override
Definition:
TestSuite.cc:62
edm::EventSetup
Definition:
EventSetup.h:52
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:28
EDAnalyzer.h
TestSuite::filename_
std::string filename_
Definition:
TestSuite.h:57
TestSuite
Definition:
TestSuite.h:46
PSimHit.h
SimTrackContainer.h
TestSuite::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TestSuite.cc:70
InputTag.h
TestSuite::g4SimHits_Ecal_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_Ecal_Token_
Definition:
TestSuite.h:66
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
TestSuite::bunchcr_
int bunchcr_
Definition:
TestSuite.h:58
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.11