Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
//
17
//
18
// Original Author:
19
// Created: Tue Nov 29 12:26:39 EST 2005
20
// $Id: BeginOfTrackCounter.h,v 1.1 2005/11/29 18:42:56 chrjones Exp $
21
//
22
23
// system include files
24
#include <string>
25
26
// user include files
27
#include "
SimG4Core/Watcher/interface/SimProducer.h
"
28
#include "
SimG4Core/Notification/interface/Observer.h
"
29
#include "
SimG4Core/Notification/interface/BeginOfTrack.h
"
30
31
// forward declarations
32
namespace
simwatcher {
33
class
BeginOfTrackCounter
:
public
SimProducer
,
34
public
Observer
<const BeginOfTrack*>
35
{
36
37
public
:
38
BeginOfTrackCounter
(
const
edm::ParameterSet
&);
39
40
// ---------- const member functions ---------------------
41
42
// ---------- static member functions --------------------
43
44
// ---------- member functions ---------------------------
45
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
46
47
private
:
48
BeginOfTrackCounter
(
const
BeginOfTrackCounter
&);
// stop default
49
50
const
BeginOfTrackCounter
&
operator=
(
const
BeginOfTrackCounter
&);
// stop default
51
52
void
update
(
const
BeginOfTrack
*);
53
// ---------- member data --------------------------------
54
int
m_count
;
55
std::string
m_label
;
56
};
57
58
}
59
#endif
BeginOfTrack.h
SimProducer.h
simwatcher::BeginOfTrackCounter::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
BeginOfTrackCounter.cc:46
Observer.h
simwatcher::BeginOfTrackCounter::m_label
std::string m_label
Definition:
BeginOfTrackCounter.h:55
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:44
simwatcher::BeginOfTrackCounter
Definition:
BeginOfTrackCounter.h:33
Observer
Definition:
Observer.h:25
simwatcher::BeginOfTrackCounter::m_count
int m_count
Definition:
BeginOfTrackCounter.h:54
SimProducer
Definition:
SimProducer.h:60
simwatcher::BeginOfTrackCounter::BeginOfTrackCounter
BeginOfTrackCounter(const edm::ParameterSet &)
Definition:
BeginOfTrackCounter.cc:33
simwatcher::BeginOfTrackCounter::update
void update(const BeginOfTrack *)
This routine will be called when the appropriate signal arrives.
Definition:
BeginOfTrackCounter.cc:54
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:56
Generated for CMSSW Reference Manual by
1.8.5