SimGeneral
MixingModule
plugins
SecSourceAnalyzer.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: SecSourceAnalyzer
4
// Class: SecSourceAnalyzer
5
//
8
//
9
// Original Author: Emilia Lubenova Becheva
10
// Created: Wed Apr 22 16:54:31 CEST 2009
11
//
12
//
13
14
#ifndef SecSourceAnalyzer_h
15
#define SecSourceAnalyzer_h
16
17
// system include files
18
#include <memory>
19
20
// user include files
21
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
22
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
23
24
#include "
FWCore/Framework/interface/Event.h
"
25
#include "
FWCore/Framework/interface/MakerMacros.h
"
26
27
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
28
29
#include "
DataFormats/Provenance/interface/EventID.h
"
30
31
#include "
Mixing/Base/interface/PileUp.h
"
32
33
//
34
// class declaration
35
//
36
namespace
edm
{
37
38
class
ModuleCallingContext;
39
40
class
SecSourceAnalyzer
:
public
edm::one::EDAnalyzer
<> {
41
public
:
42
explicit
SecSourceAnalyzer
(
const
edm::ParameterSet
&);
43
~SecSourceAnalyzer
()
override
;
44
45
bool
getBranches
(
EventPrincipal
const
&
ep
,
ModuleCallingContext
const
*);
46
bool
dummyFunction
(
EventPrincipal
const
&
ep
) {
return
true
; }
47
48
private
:
49
void
beginJob
()
override
;
50
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
51
void
endJob
()
override
;
52
53
// ----------member data ---------------------------
54
int
minBunch_
;
55
int
maxBunch_
;
56
57
bool
dataStep2_
;
58
edm::InputTag
label_
;
59
60
std::vector<std::vector<edm::SecondaryEventIDAndFileInfo> >
vectorEventIDs_
;
61
62
std::shared_ptr<PileUp>
input_
;
63
std::vector<float>
TrueNumInteractions_
[5];
64
65
InputTag
tag_
;
66
};
67
}
// namespace edm
68
#endif
edm::SecSourceAnalyzer
Definition:
SecSourceAnalyzer.h:40
EDAnalyzer.h
edm::SecSourceAnalyzer::TrueNumInteractions_
std::vector< float > TrueNumInteractions_[5]
Definition:
SecSourceAnalyzer.h:63
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::SecSourceAnalyzer::minBunch_
int minBunch_
Definition:
SecSourceAnalyzer.h:54
edm::SecSourceAnalyzer::dataStep2_
bool dataStep2_
Definition:
SecSourceAnalyzer.h:57
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
edm::SecSourceAnalyzer::maxBunch_
int maxBunch_
Definition:
SecSourceAnalyzer.h:55
edm::SecSourceAnalyzer::vectorEventIDs_
std::vector< std::vector< edm::SecondaryEventIDAndFileInfo > > vectorEventIDs_
Definition:
SecSourceAnalyzer.h:60
MakerMacros.h
edm::EventPrincipal
Definition:
EventPrincipal.h:46
edm::SecSourceAnalyzer::label_
edm::InputTag label_
Definition:
SecSourceAnalyzer.h:58
edm::SecSourceAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SecSourceAnalyzer.cc:82
EventID.h
edm::SecSourceAnalyzer::dummyFunction
bool dummyFunction(EventPrincipal const &ep)
Definition:
SecSourceAnalyzer.h:46
edm::SecSourceAnalyzer::getBranches
bool getBranches(EventPrincipal const &ep, ModuleCallingContext const *)
Definition:
SecSourceAnalyzer.cc:109
edm::SecSourceAnalyzer::beginJob
void beginJob() override
Definition:
SecSourceAnalyzer.cc:152
edm::SecSourceAnalyzer::input_
std::shared_ptr< PileUp > input_
Definition:
SecSourceAnalyzer.h:62
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::SecSourceAnalyzer::tag_
InputTag tag_
Definition:
SecSourceAnalyzer.h:65
edm::SecSourceAnalyzer::endJob
void endJob() override
Definition:
SecSourceAnalyzer.cc:155
edm::EventSetup
Definition:
EventSetup.h:57
Frameworkfwd.h
edm::SecSourceAnalyzer::SecSourceAnalyzer
SecSourceAnalyzer(const edm::ParameterSet &)
Definition:
SecSourceAnalyzer.cc:53
ParameterSet.h
PileUp.h
edm::Event
Definition:
Event.h:73
SiStripBadComponentsDQMServiceTemplate_cfg.ep
ep
Definition:
SiStripBadComponentsDQMServiceTemplate_cfg.py:86
edm::SecSourceAnalyzer::~SecSourceAnalyzer
~SecSourceAnalyzer() override
Definition:
SecSourceAnalyzer.cc:75
edm::InputTag
Definition:
InputTag.h:15
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:29
Generated for CMSSW Reference Manual by
1.8.16