CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
PrintGeomInfoAction Class Reference

#include <PrintGeomInfoAction.h>

Inheritance diagram for PrintGeomInfoAction:
SimWatcher Observer< const BeginOfJob * > Observer< const BeginOfRun * >

Public Member Functions

 PrintGeomInfoAction (edm::ParameterSet const &p)
 
 ~PrintGeomInfoAction ()
 
- Public Member Functions inherited from SimWatcher
 SimWatcher ()
 
virtual ~SimWatcher ()
 
- Public Member Functions inherited from Observer< const BeginOfJob * >
 Observer ()
 
void slotForUpdate (const BeginOfJob *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfRun * >
 Observer ()
 
void slotForUpdate (const BeginOfRun *iT)
 
virtual ~Observer ()
 

Private Member Functions

void add1touchable (G4LogicalVolume *lv, int &nTouch)
 
int countNoTouchables ()
 
void dumpG4LVLeaf (G4LogicalVolume *lv, unsigned int leafDepth, unsigned int count, std::ostream &out=std::cout)
 
void dumpG4LVList (std::ostream &out=std::cout)
 
void dumpG4LVTree (std::ostream &out=std::cout)
 
void dumpHierarchyLeafPVLV (G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &out=std::cout)
 
void dumpHierarchyTreePVLV (std::ostream &out=std::cout)
 
void dumpLV (G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &out=std::cout)
 
void dumpMaterialList (std::ostream &out=std::cout)
 
void dumpPV (G4VPhysicalVolume *pv, unsigned int leafDepth, std::ostream &out=std::cout)
 
void dumpSolid (G4VSolid *sol, unsigned int leafDepth, std::ostream &out=std::cout)
 
void dumpSummary (std::ostream &out=std::cout)
 
void dumpTouch (G4VPhysicalVolume *pv, unsigned int leafDepth, std::ostream &out=std::cout)
 
G4LogicalVolume * getTopLV ()
 
G4VPhysicalVolume * getTopPV ()
 
std::string spacesFromLeafDepth (unsigned int leafDepth)
 
void update (const BeginOfJob *job)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfRun *run)
 This routine will be called when the appropriate signal arrives. More...
 

Private Attributes

bool _dumpAtts
 
bool _dumpLV
 
bool _dumpLVList
 
bool _dumpLVTree
 
bool _dumpMaterial
 
bool _dumpPV
 
bool _dumpReplica
 
bool _dumpRotation
 
bool _dumpSense
 
bool _dumpSolid
 
bool _dumpSummary
 
bool _dumpTouch
 
G4NavigationHistory fHistory
 
std::string name
 
std::vector< std::string > names
 
int nchar
 
mpvpv thePVTree
 
G4VPhysicalVolume * theTopPV
 

Additional Inherited Members

Detailed Description

Definition at line 24 of file PrintGeomInfoAction.h.

Constructor & Destructor Documentation

PrintGeomInfoAction::PrintGeomInfoAction ( edm::ParameterSet const &  p)

Definition at line 34 of file PrintGeomInfoAction.cc.

PrintGeomInfoAction::~PrintGeomInfoAction ( )

Definition at line 71 of file PrintGeomInfoAction.cc.

Member Function Documentation

void PrintGeomInfoAction::add1touchable ( G4LogicalVolume *  lv,
int &  nTouch 
)
private

Definition at line 203 of file PrintGeomInfoAction.cc.

int PrintGeomInfoAction::countNoTouchables ( )
private

Definition at line 195 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpG4LVLeaf ( G4LogicalVolume *  lv,
unsigned int  leafDepth,
unsigned int  count,
std::ostream &  out = std::cout 
)
private

Definition at line 178 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpG4LVList ( std::ostream &  out = std::cout)
private

Definition at line 152 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpG4LVTree ( std::ostream &  out = std::cout)
private

Definition at line 161 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpHierarchyLeafPVLV ( G4LogicalVolume *  lv,
unsigned int  leafDepth,
std::ostream &  out = std::cout 
)
private

Definition at line 228 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpHierarchyTreePVLV ( std::ostream &  out = std::cout)
private

Definition at line 210 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpLV ( G4LogicalVolume *  lv,
unsigned int  leafDepth,
std::ostream &  out = std::cout 
)
private

Definition at line 257 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpMaterialList ( std::ostream &  out = std::cout)
private

Definition at line 168 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpPV ( G4VPhysicalVolume *  pv,
unsigned int  leafDepth,
std::ostream &  out = std::cout 
)
private

Definition at line 317 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpSolid ( G4VSolid *  sol,
unsigned int  leafDepth,
std::ostream &  out = std::cout 
)
private

Definition at line 395 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpSummary ( std::ostream &  out = std::cout)
private

Definition at line 128 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::dumpTouch ( G4VPhysicalVolume *  pv,
unsigned int  leafDepth,
std::ostream &  out = std::cout 
)
private

Definition at line 358 of file PrintGeomInfoAction.cc.

G4LogicalVolume * PrintGeomInfoAction::getTopLV ( )
private

Definition at line 406 of file PrintGeomInfoAction.cc.

G4VPhysicalVolume * PrintGeomInfoAction::getTopPV ( )
private

Definition at line 401 of file PrintGeomInfoAction.cc.

std::string PrintGeomInfoAction::spacesFromLeafDepth ( unsigned int  leafDepth)
private

Definition at line 387 of file PrintGeomInfoAction.cc.

void PrintGeomInfoAction::update ( const BeginOfJob )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 73 of file PrintGeomInfoAction.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void PrintGeomInfoAction::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 113 of file PrintGeomInfoAction.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

Member Data Documentation

bool PrintGeomInfoAction::_dumpAtts
private

Definition at line 53 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpLV
private

Definition at line 53 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpLVList
private

Definition at line 51 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpLVTree
private

Definition at line 51 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpMaterial
private

Definition at line 52 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpPV
private

Definition at line 54 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpReplica
private

Definition at line 54 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpRotation
private

Definition at line 54 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpSense
private

Definition at line 53 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpSolid
private

Definition at line 53 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpSummary
private

Definition at line 51 of file PrintGeomInfoAction.h.

bool PrintGeomInfoAction::_dumpTouch
private

Definition at line 54 of file PrintGeomInfoAction.h.

G4NavigationHistory PrintGeomInfoAction::fHistory
private

Definition at line 60 of file PrintGeomInfoAction.h.

std::string PrintGeomInfoAction::name
private

Definition at line 55 of file PrintGeomInfoAction.h.

Referenced by VIDSelectorBase.VIDSelectorBase::initialize().

std::vector<std::string> PrintGeomInfoAction::names
private

Definition at line 57 of file PrintGeomInfoAction.h.

int PrintGeomInfoAction::nchar
private

Definition at line 56 of file PrintGeomInfoAction.h.

mpvpv PrintGeomInfoAction::thePVTree
private

Definition at line 58 of file PrintGeomInfoAction.h.

G4VPhysicalVolume* PrintGeomInfoAction::theTopPV
private

Definition at line 59 of file PrintGeomInfoAction.h.