Main Page
Namespaces
Classes
Package Documentation
src
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
//
19
//
20
// Original Author:
21
// Created: Tue Nov 29 12:26:39 EST 2005
22
//
23
24
// system include files
25
#include <string>
26
27
// user include files
28
#include "
SimG4Core/Notification/interface/BeginOfTrack.h
"
29
#include "
SimG4Core/Notification/interface/Observer.h
"
30
#include "
SimG4Core/Watcher/interface/SimProducer.h
"
31
32
// forward declarations
33
namespace
edm
{
34
class
ParameterSet
;
35
}
36
37
namespace
simwatcher
{
38
class
BeginOfTrackCounter
:
public
SimProducer
,
public
Observer
<const BeginOfTrack *> {
39
public
:
40
BeginOfTrackCounter
(
const
edm::ParameterSet
&);
41
42
// ---------- const member functions ---------------------
43
44
// ---------- static member functions --------------------
45
46
// ---------- member functions ---------------------------
47
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
48
49
private
:
50
BeginOfTrackCounter
(
const
BeginOfTrackCounter
&) =
delete
;
// stop default
51
52
const
BeginOfTrackCounter
&operator=(
const
BeginOfTrackCounter
&) =
delete
;
// stop default
53
54
void
update
(
const
BeginOfTrack
*)
override
;
55
// ---------- member data --------------------------------
56
int
m_count
;
57
std::string
m_label
;
58
};
59
60
}
// namespace simwatcher
61
#endif
BeginOfTrack.h
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SimProducer.h
Observer.h
simwatcher::BeginOfTrackCounter::m_label
std::string m_label
Definition:
BeginOfTrackCounter.h:57
BeginOfTrack
Definition:
BeginOfTrack.h:6
edm::EventSetup
Definition:
EventSetup.h:57
simwatcher::BeginOfTrackCounter
Definition:
BeginOfTrackCounter.h:38
Observer
Definition:
Observer.h:23
simwatcher::BeginOfTrackCounter::m_count
int m_count
Definition:
BeginOfTrackCounter.h:56
simwatcher
Definition:
BeginOfTrackCounter.h:37
SimProducer
Definition:
SimProducer.h:64
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:71
Generated for CMSSW Reference Manual by
1.8.11