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
typedef
dqm::legacy::DQMStore
DQMStore
;
48
typedef
dqm::legacy::MonitorElement
MonitorElement
;
49
50
explicit
TestSuite
(
const
edm::ParameterSet
&);
51
~TestSuite
()
override
;
52
53
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
54
void
beginJob
()
override
;
55
void
endJob
()
override
;
56
57
private
:
58
std::string
filename_
;
59
int
bunchcr_
;
60
int
minbunch_
;
61
int
maxbunch_
;
62
DQMStore
*
dbe_
;
63
64
edm::EDGetTokenT<CrossingFrame<SimTrack>
>
cfTrackToken_
;
65
edm::EDGetTokenT<CrossingFrame<SimTrack>
>
cfVertexToken_
;
66
edm::EDGetTokenT<CrossingFrame<PSimHit>
>
g4SimHits_Token_
;
67
edm::EDGetTokenT<CrossingFrame<PCaloHit>
>
g4SimHits_Ecal_Token_
;
68
edm::EDGetTokenT<CrossingFrame<PCaloHit>
>
g4SimHits_HCal_Token_
;
69
};
TestSuite::cfVertexToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition:
TestSuite.h:65
TestSuite::endJob
void endJob() override
Definition:
TestSuite.cc:54
TestSuite::maxbunch_
int maxbunch_
Definition:
TestSuite.h:61
edm::EDGetTokenT
Definition:
EDGetToken.h:33
CrossingFrame.h
PSimHitContainer.h
TestSuite::TestSuite
TestSuite(const edm::ParameterSet &)
Definition:
TestSuite.cc:29
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
EDAnalyzer.h
TestSuite::g4SimHits_HCal_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_HCal_Token_
Definition:
TestSuite.h:68
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
TestSuite::~TestSuite
~TestSuite() override
Definition:
TestSuite.cc:43
MakerMacros.h
PSimHit.h
TestSuite::filename_
std::string filename_
Definition:
TestSuite.h:58
TestSuite::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
TestSuite.h:48
dqm::legacy::DQMStore
Definition:
DQMStore.h:727
TestSuite::dbe_
DQMStore * dbe_
Definition:
TestSuite.h:62
MixCollection.h
Service.h
TestSuite::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
TestSuite.h:47
TestSuite::bunchcr_
int bunchcr_
Definition:
TestSuite.h:59
TestSuite::g4SimHits_Token_
edm::EDGetTokenT< CrossingFrame< PSimHit > > g4SimHits_Token_
Definition:
TestSuite.h:66
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TestSuite::g4SimHits_Ecal_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_Ecal_Token_
Definition:
TestSuite.h:67
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
TestSuite::cfTrackToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition:
TestSuite.h:64
TestSuite
Definition:
TestSuite.h:45
edm::EventSetup
Definition:
EventSetup.h:58
TestSuite::minbunch_
int minbunch_
Definition:
TestSuite.h:60
InputTag.h
TestSuite::beginJob
void beginJob() override
Definition:
TestSuite.cc:48
Frameworkfwd.h
PCaloHitContainer.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
TestSuite::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TestSuite.cc:60
SimTrackContainer.h
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.16