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
Observer
Definition:
Observer.h:23
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
PrintTrackNumberAction::theNoTracks
int theNoTracks
Definition:
PrintTrackNumberAction.h:21
EndOfTrack
Definition:
EndOfTrack.h:6
PrintTrackNumberAction
Definition:
PrintTrackNumberAction.h:11
Observer.h
PrintTrackNumberAction::bNoUserLimits
bool bNoUserLimits
Definition:
PrintTrackNumberAction.h:26
PrintTrackNumberAction::PrintTrackNumberAction
PrintTrackNumberAction(edm::ParameterSet const &p)
Definition:
PrintTrackNumberAction.cc:10
SimWatcher.h
EndOfEvent
Definition:
EndOfEvent.h:6
PrintTrackNumberAction::theNoTracksToPrint
int theNoTracksToPrint
Definition:
PrintTrackNumberAction.h:25
PrintTrackNumberAction::theNoTracksThisEvent
int theNoTracksThisEvent
Definition:
PrintTrackNumberAction.h:22
PrintTrackNumberAction::update
void update(const EndOfTrack *trk) override
This routine will be called when the appropriate signal arrives.
Definition:
PrintTrackNumberAction.cc:20
edm::ParameterSet
Definition:
ParameterSet.h:47
SimWatcher
Definition:
SimWatcher.h:27
PrintTrackNumberAction::~PrintTrackNumberAction
~PrintTrackNumberAction() override
Definition:
PrintTrackNumberAction.cc:18
PrintTrackNumberAction::theNoTracksThisEventNoUL
int theNoTracksThisEventNoUL
Definition:
PrintTrackNumberAction.h:24
PrintTrackNumberAction::theNoTracksNoUL
int theNoTracksNoUL
Definition:
PrintTrackNumberAction.h:23
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16