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
// system include files
17
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/Framework/interface/MakerMacros.h
"
22
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
#include "
FWCore/Utilities/interface/InputTag.h
"
25
26
#include "
SimDataFormats/CrossingFrame/interface/CrossingFrame.h
"
27
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
28
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
29
30
#include "
SimDataFormats/CaloHit/interface/PCaloHitContainer.h
"
31
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
32
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
33
#include "
SimDataFormats/Vertex/interface/SimVertexContainer.h
"
34
35
// DQM services for histogram
36
#include "
DQMServices/Core/interface/DQMStore.h
"
37
#include "
FWCore/ServiceRegistry/interface/Service.h
"
38
39
class
TFile;
40
41
//
42
// class declaration
43
//
44
45
class
TestSuite
:
public
edm::EDAnalyzer
{
46
public
:
47
explicit
TestSuite
(
const
edm::ParameterSet
&);
48
~TestSuite
()
override
;
49
50
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
51
void
beginJob
()
override
;
52
void
endJob
()
override
;
53
54
private
:
55
std::string
filename_
;
56
int
bunchcr_
;
57
int
minbunch_
;
58
int
maxbunch_
;
59
DQMStore
*
dbe_
;
60
61
edm::EDGetTokenT<CrossingFrame<SimTrack>
>
cfTrackToken_
;
62
edm::EDGetTokenT<CrossingFrame<SimTrack>
>
cfVertexToken_
;
63
edm::EDGetTokenT<CrossingFrame<PSimHit>
>
g4SimHits_Token_
;
64
edm::EDGetTokenT<CrossingFrame<PCaloHit>
>
g4SimHits_Ecal_Token_
;
65
edm::EDGetTokenT<CrossingFrame<PCaloHit>
>
g4SimHits_HCal_Token_
;
66
};
PCaloHitContainer.h
TestSuite::cfVertexToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition:
TestSuite.h:62
TestSuite::beginJob
void beginJob() override
Definition:
TestSuite.cc:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
TestSuite::maxbunch_
int maxbunch_
Definition:
TestSuite.h:58
CrossingFrame.h
MakerMacros.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Frameworkfwd.h
TestSuite::TestSuite
TestSuite(const edm::ParameterSet &)
Definition:
TestSuite.cc:30
MixCollection.h
ParameterSet.h
TestSuite::minbunch_
int minbunch_
Definition:
TestSuite.h:57
DQMStore
Definition:
DQMStore.h:76
TestSuite::cfTrackToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition:
TestSuite.h:61
TestSuite::dbe_
DQMStore * dbe_
Definition:
TestSuite.h:59
DQMStore.h
PSimHitContainer.h
Service.h
TestSuite::~TestSuite
~TestSuite() override
Definition:
TestSuite.cc:44
TestSuite::endJob
void endJob() override
Definition:
TestSuite.cc:56
edm::EventSetup
Definition:
EventSetup.h:57
TestSuite::g4SimHits_Token_
edm::EDGetTokenT< CrossingFrame< PSimHit > > g4SimHits_Token_
Definition:
TestSuite.h:63
TestSuite::g4SimHits_HCal_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_HCal_Token_
Definition:
TestSuite.h:65
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
TestSuite::filename_
std::string filename_
Definition:
TestSuite.h:55
TestSuite
Definition:
TestSuite.h:45
PSimHit.h
SimTrackContainer.h
TestSuite::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TestSuite.cc:62
InputTag.h
TestSuite::g4SimHits_Ecal_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_Ecal_Token_
Definition:
TestSuite.h:64
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
TestSuite::bunchcr_
int bunchcr_
Definition:
TestSuite.h:56
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.11