Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
&);
49
50
private
:
51
BeginOfTrackCounter
(
const
BeginOfTrackCounter
&);
// stop default
52
53
const
BeginOfTrackCounter
&
operator=
(
const
BeginOfTrackCounter
&);
// stop default
54
55
void
update
(
const
BeginOfTrack
*);
56
// ---------- member data --------------------------------
57
int
m_count
;
58
std::string
m_label
;
59
};
60
61
}
62
#endif
BeginOfTrack.h
ParameterSet
Definition:
Functions.h:16
SimProducer.h
simwatcher::BeginOfTrackCounter::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
BeginOfTrackCounter.cc:45
Observer.h
simwatcher::BeginOfTrackCounter::m_label
std::string m_label
Definition:
BeginOfTrackCounter.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
BeginOfTrack
Definition:
BeginOfTrack.h:6
simwatcher::BeginOfTrackCounter::operator=
const BeginOfTrackCounter & operator=(const BeginOfTrackCounter &)
edm::EventSetup
Definition:
EventSetup.h:45
simwatcher::BeginOfTrackCounter
Definition:
BeginOfTrackCounter.h:36
Observer
Definition:
Observer.h:24
simwatcher::BeginOfTrackCounter::m_count
int m_count
Definition:
BeginOfTrackCounter.h:57
SimProducer
Definition:
SimProducer.h:66
simwatcher::BeginOfTrackCounter::BeginOfTrackCounter
BeginOfTrackCounter(const edm::ParameterSet &)
Definition:
BeginOfTrackCounter.cc:32
simwatcher::BeginOfTrackCounter::update
void update(const BeginOfTrack *)
This routine will be called when the appropriate signal arrives.
Definition:
BeginOfTrackCounter.cc:53
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:64
Generated for CMSSW Reference Manual by
1.8.5