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 "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
SimG4Core/Notification/interface/Observer.h
"
6
#include "
SimG4Core/Watcher/interface/SimWatcher.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
public
:
15
PrintTrackNumberAction
(
edm::ParameterSet
const
&
p
);
16
~PrintTrackNumberAction
()
override
;
17
void
update
(
const
EndOfTrack
*trk)
override
;
18
void
update
(
const
EndOfEvent
*trk)
override
;
19
20
private
:
21
int
theNoTracks
;
22
int
theNoTracksThisEvent
;
23
int
theNoTracksNoUL
;
24
int
theNoTracksThisEventNoUL
;
25
int
theNoTracksToPrint
;
26
bool
bNoUserLimits
;
27
};
28
29
#endif
PrintTrackNumberAction::PrintTrackNumberAction
PrintTrackNumberAction(edm::ParameterSet const &p)
Definition:
PrintTrackNumberAction.cc:11
PrintTrackNumberAction
Definition:
PrintTrackNumberAction.h:11
PrintTrackNumberAction::theNoTracksNoUL
int theNoTracksNoUL
Definition:
PrintTrackNumberAction.h:23
PrintTrackNumberAction::~PrintTrackNumberAction
~PrintTrackNumberAction() override
Definition:
PrintTrackNumberAction.cc:19
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:21
EndOfTrack
Definition:
EndOfTrack.h:6
SimWatcher
Definition:
SimWatcher.h:30
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:23
SimWatcher.h
edm::ParameterSet
Definition:
ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14