Main Page
Namespaces
Classes
Package Documentation
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
,
17
public
Observer
<const BeginOfRun *> {
18
19
public
:
20
21
PrintSensitive
(
edm::ParameterSet
const
&
p
);
22
~PrintSensitive
()
override
;
23
24
private
:
25
26
void
update
(
const
BeginOfRun
*
run
)
override
;
27
void
dumpTouch
(G4VPhysicalVolume *
pv
,
unsigned
int
leafDepth,
bool
printIt,
28
std::ostream &
out
=
std::cout
);
29
G4VPhysicalVolume *
getTopPV
();
30
31
private
:
32
std::string
name
;
33
int
nchar
;
34
G4NavigationHistory
fHistory
;
35
};
36
37
#endif
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
PrintSensitive::name
std::string name
Definition:
PrintSensitive.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Observer.h
PrintSensitive::fHistory
G4NavigationHistory fHistory
Definition:
PrintSensitive.h:34
PrintSensitive::PrintSensitive
PrintSensitive(edm::ParameterSet const &p)
Definition:
PrintSensitive.cc:15
PrintSensitive::update
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
Definition:
PrintSensitive.cc:25
ParameterSet.h
SimWatcher
Definition:
SimWatcher.h:32
PrintSensitive::getTopPV
G4VPhysicalVolume * getTopPV()
Definition:
PrintSensitive.cc:64
BeginOfRun
Definition:
BeginOfRun.h:6
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
Observer
Definition:
Observer.h:24
findQualityFiles.run
run
Definition:
findQualityFiles.py:409
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
PrintSensitive::dumpTouch
void dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth, bool printIt, std::ostream &out=std::cout)
Definition:
PrintSensitive.cc:31
PrintSensitive::nchar
int nchar
Definition:
PrintSensitive.h:33
PrintSensitive
Definition:
PrintSensitive.h:16
SimWatcher.h
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
PrintSensitive::~PrintSensitive
~PrintSensitive() override
Definition:
PrintSensitive.cc:23
Generated for CMSSW Reference Manual by
1.8.11