Main Page
Namespaces
Classes
Package Documentation
SimG4Core
PrintTrackNumber
interface
PrintTrackNumberAction.h
Go to the documentation of this file.
1
#ifndef SimG4Core_PrintTrackNumberAction_H
2
#define SimG4Core_PrintTrackNumberAction_H
3
4
#include "
SimG4Core/Watcher/interface/SimWatcher.h
"
5
#include "
SimG4Core/Notification/interface/Observer.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
8
class
EndOfEvent
;
9
class
EndOfTrack
;
10
11
class
PrintTrackNumberAction
:
public
SimWatcher
,
12
public
Observer
<const EndOfEvent *>,
13
public
Observer
<const EndOfTrack *>
14
{
15
public
:
16
PrintTrackNumberAction
(
edm::ParameterSet
const
&
p
);
17
~PrintTrackNumberAction
()
override
;
18
void
update
(
const
EndOfTrack
* trk)
override
;
19
void
update
(
const
EndOfEvent
* trk)
override
;
20
private
:
21
int
theNoTracks
;
22
int
theNoTracksThisEvent
;
23
int
theNoTracksNoUL
;
24
int
theNoTracksThisEventNoUL
;
25
int
theNoTracksToPrint
;
26
bool
bNoUserLimits
;
27
};
28
29
#endif
30
31
PrintTrackNumberAction::PrintTrackNumberAction
PrintTrackNumberAction(edm::ParameterSet const &p)
Definition:
PrintTrackNumberAction.cc:10
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
PrintTrackNumberAction
Definition:
PrintTrackNumberAction.h:11
PrintTrackNumberAction::theNoTracksNoUL
int theNoTracksNoUL
Definition:
PrintTrackNumberAction.h:23
PrintTrackNumberAction::~PrintTrackNumberAction
~PrintTrackNumberAction() override
Definition:
PrintTrackNumberAction.cc:20
EndOfEvent
Definition:
EndOfEvent.h:6
PrintTrackNumberAction::theNoTracksToPrint
int theNoTracksToPrint
Definition:
PrintTrackNumberAction.h:25
Observer.h
PrintTrackNumberAction::theNoTracksThisEvent
int theNoTracksThisEvent
Definition:
PrintTrackNumberAction.h:22
ParameterSet.h
PrintTrackNumberAction::update
void update(const EndOfTrack *trk) override
This routine will be called when the appropriate signal arrives.
Definition:
PrintTrackNumberAction.cc:22
EndOfTrack
Definition:
EndOfTrack.h:6
SimWatcher
Definition:
SimWatcher.h:32
PrintTrackNumberAction::bNoUserLimits
bool bNoUserLimits
Definition:
PrintTrackNumberAction.h:26
PrintTrackNumberAction::theNoTracks
int theNoTracks
Definition:
PrintTrackNumberAction.h:21
PrintTrackNumberAction::theNoTracksThisEventNoUL
int theNoTracksThisEventNoUL
Definition:
PrintTrackNumberAction.h:24
Observer
Definition:
Observer.h:24
SimWatcher.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11