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
simwatcher
Definition:
BeginOfTrackCounter.h:37
Observer
Definition:
Observer.h:23
simwatcher::BeginOfTrackCounter::update
void update(const BeginOfTrack *) override
This routine will be called when the appropriate signal arrives.
Definition:
BeginOfTrackCounter.cc:47
edm
HLT enums.
Definition:
AlignableModifier.h:19
SimProducer.h
Observer.h
BeginOfTrack.h
simwatcher::BeginOfTrackCounter::m_count
int m_count
Definition:
BeginOfTrackCounter.h:56
simwatcher::BeginOfTrackCounter::operator=
const BeginOfTrackCounter & operator=(const BeginOfTrackCounter &)=delete
BeginOfTrack
Definition:
BeginOfTrack.h:6
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
SimProducer
Definition:
SimProducer.h:64
simwatcher::BeginOfTrackCounter::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
BeginOfTrackCounter.cc:41
edm::EventSetup
Definition:
EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
simwatcher::BeginOfTrackCounter
Definition:
BeginOfTrackCounter.h:38
simwatcher::BeginOfTrackCounter::m_label
std::string m_label
Definition:
BeginOfTrackCounter.h:57
simwatcher::BeginOfTrackCounter::BeginOfTrackCounter
BeginOfTrackCounter(const edm::ParameterSet &)
Definition:
BeginOfTrackCounter.cc:32
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16