Main Page
Namespaces
Classes
Package Documentation
SimG4Core
HelpfulWatchers
src
BeginOfTrackCounter.h
Go to the documentation of this file.
1
#ifndef HelpfulWatchers_BeginOfTrackCounter_h
2
#define HelpfulWatchers_BeginOfTrackCounter_h
3
// -*- C++ -*-
4
//
5
// Package: HelpfulWatchers
6
// Class : BeginOfTrackCounter
7
//
17
//
18
// Original Author:
19
// Created: Tue Nov 29 12:26:39 EST 2005
20
//
21
22
// system include files
23
#include <string>
24
25
// user include files
26
#include "
SimG4Core/Watcher/interface/SimProducer.h
"
27
#include "
SimG4Core/Notification/interface/Observer.h
"
28
#include "
SimG4Core/Notification/interface/BeginOfTrack.h
"
29
30
// forward declarations
31
namespace
edm
{
32
class
ParameterSet
;
33
}
34
35
namespace
simwatcher
{
36
class
BeginOfTrackCounter
:
public
SimProducer
,
37
public
Observer
<const BeginOfTrack*>
38
{
39
40
public
:
41
BeginOfTrackCounter
(
const
edm::ParameterSet
&);
42
43
// ---------- const member functions ---------------------
44
45
// ---------- static member functions --------------------
46
47
// ---------- member functions ---------------------------
48
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
49
50
private
:
51
BeginOfTrackCounter
(
const
BeginOfTrackCounter
&) =
delete
;
// stop default
52
53
const
BeginOfTrackCounter
& operator=(
const
BeginOfTrackCounter
&) =
delete
;
// stop default
54
55
void
update
(
const
BeginOfTrack
*)
override
;
56
// ---------- member data --------------------------------
57
int
m_count
;
58
std::string
m_label
;
59
};
60
61
}
62
#endif
BeginOfTrack.h
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
SimProducer.h
Observer.h
simwatcher::BeginOfTrackCounter::m_label
std::string m_label
Definition:
BeginOfTrackCounter.h:58
BeginOfTrack
Definition:
BeginOfTrack.h:6
edm::EventSetup
Definition:
EventSetup.h:48
simwatcher::BeginOfTrackCounter
Definition:
BeginOfTrackCounter.h:36
Observer
Definition:
Observer.h:24
simwatcher::BeginOfTrackCounter::m_count
int m_count
Definition:
BeginOfTrackCounter.h:57
simwatcher
Definition:
BeginOfTrackCounter.h:35
SimProducer
Definition:
SimProducer.h:66
edm
HLT enums.
Definition:
AlignableModifier.h:17
update
#define update(a, b)
Definition:
TrackClassifier.cc:10
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
Generated for CMSSW Reference Manual by
1.8.11