SimG4Core
PrintGeomInfo
interface
PrintSensitive.h
Go to the documentation of this file.
1
#ifndef SimG4Core_PrintSensitive_H
2
#define SimG4Core_PrintSensitive_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
#include "G4NavigationHistory.hh"
9
10
#include <iostream>
11
#include <string>
12
13
class
BeginOfRun
;
14
class
G4VPhysicalVolume;
15
16
class
PrintSensitive
:
public
SimWatcher
,
public
Observer
<const BeginOfRun *> {
17
public
:
18
PrintSensitive
(
edm::ParameterSet
const
&
p
);
19
~PrintSensitive
()
override
;
20
21
private
:
22
void
update
(
const
BeginOfRun
*
run
)
override
;
23
int
dumpTouch
(G4VPhysicalVolume *
pv
,
unsigned
int
leafDepth,
bool
printIt,
int
ns, std::ostream &
out
=
std::cout
);
24
G4VPhysicalVolume *
getTopPV
();
25
26
private
:
27
std::string
name_
;
28
int
nchar_
;
29
G4NavigationHistory
fHistory
;
30
};
31
32
#endif
PrintSensitive::name_
std::string name_
Definition:
PrintSensitive.h:27
PrintSensitive::dumpTouch
int dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth, bool printIt, int ns, std::ostream &out=std::cout)
Definition:
PrintSensitive.cc:29
Observer
Definition:
Observer.h:23
PrintSensitive::nchar_
int nchar_
Definition:
PrintSensitive.h:28
PrintSensitive::getTopPV
G4VPhysicalVolume * getTopPV()
Definition:
PrintSensitive.cc:66
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
PrintSensitive::PrintSensitive
PrintSensitive(edm::ParameterSet const &p)
Definition:
PrintSensitive.cc:13
Observer.h
SimWatcher.h
PrintSensitive::fHistory
G4NavigationHistory fHistory
Definition:
PrintSensitive.h:29
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PrintSensitive::update
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
Definition:
PrintSensitive.cc:23
edm::ParameterSet
Definition:
ParameterSet.h:47
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
BeginOfRun
Definition:
BeginOfRun.h:6
SimWatcher
Definition:
SimWatcher.h:33
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
ParameterSet.h
PrintSensitive::~PrintSensitive
~PrintSensitive() override
Definition:
PrintSensitive.cc:21
PrintSensitive
Definition:
PrintSensitive.h:16
Generated for CMSSW Reference Manual by
1.8.16