CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PrintSensitive.h
Go to the documentation of this file.
1 #ifndef SimG4Core_PrintSensitive_H
2 #define SimG4Core_PrintSensitive_H
3 
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 
23 
24 private:
25 
26  void update(const BeginOfRun * run);
27  void dumpTouch(G4VPhysicalVolume * pv, unsigned int leafDepth, bool printIt,
28  std::ostream & out = std::cout);
29  G4VPhysicalVolume * getTopPV();
30 
31 private:
33  int nchar;
34  G4NavigationHistory fHistory;
35 };
36 
37 #endif
std::string name
G4NavigationHistory fHistory
PrintSensitive(edm::ParameterSet const &p)
G4VPhysicalVolume * getTopPV()
tuple out
Definition: dbtoconf.py:99
void dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth, bool printIt, std::ostream &out=std::cout)
void update(const BeginOfRun *run)
This routine will be called when the appropriate signal arrives.
tuple cout
Definition: gather_cfg.py:121