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
PrintGeomMatInfo Class Reference

#include <PrintGeomMatInfo.h>

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

Public Member Functions

 PrintGeomMatInfo (edm::ParameterSet const &p)
 
 ~PrintGeomMatInfo ()
 
- 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 dumpG4LVLeafWithMat (G4LogicalVolume *lv, unsigned int leafDepth, unsigned int count, std::ostream &out=std::cout)
 
void dumpG4LVList (std::ostream &out=std::cout)
 
void dumpG4LVMatBudget (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

std::vector< double > _areaLayer
 
std::vector< unsigned int > _countsPerLevel
 
bool _dumpAtts
 
unsigned int _dumpIndex
 
bool _dumpIt
 
bool _dumpLV
 
bool _dumpLVList
 
bool _dumpLVMatBudget
 
bool _dumpLVTree
 
bool _dumpMaterial
 
bool _dumpPV
 
bool _dumpReplica
 
bool _dumpRotation
 
bool _dumpSense
 
bool _dumpSolid
 
bool _dumpSummary
 
bool _dumpTouch
 
unsigned int _level2Dump
 
std::vector< std::string > _lvNames2Dump
 
unsigned int _maxLevelsCounted
 
std::vector< double > _radiusLayer
 
std::vector< double > _zLayer
 
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 PrintGeomMatInfo.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file PrintGeomMatInfo.cc.

PrintGeomMatInfo::~PrintGeomMatInfo ( )

Definition at line 101 of file PrintGeomMatInfo.cc.

Member Function Documentation

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

Definition at line 294 of file PrintGeomMatInfo.cc.

int PrintGeomMatInfo::countNoTouchables ( )
private

Definition at line 285 of file PrintGeomMatInfo.cc.

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

Definition at line 210 of file PrintGeomMatInfo.cc.

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

Definition at line 234 of file PrintGeomMatInfo.cc.

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

Definition at line 184 of file PrintGeomMatInfo.cc.

void PrintGeomMatInfo::dumpG4LVMatBudget ( std::ostream &  out = std::cout)
private

Definition at line 227 of file PrintGeomMatInfo.cc.

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

Definition at line 193 of file PrintGeomMatInfo.cc.

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

Definition at line 319 of file PrintGeomMatInfo.cc.

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

Definition at line 301 of file PrintGeomMatInfo.cc.

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

Definition at line 350 of file PrintGeomMatInfo.cc.

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

Definition at line 200 of file PrintGeomMatInfo.cc.

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

Definition at line 410 of file PrintGeomMatInfo.cc.

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

Definition at line 496 of file PrintGeomMatInfo.cc.

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

Definition at line 159 of file PrintGeomMatInfo.cc.

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

Definition at line 457 of file PrintGeomMatInfo.cc.

G4LogicalVolume * PrintGeomMatInfo::getTopLV ( )
private

Definition at line 508 of file PrintGeomMatInfo.cc.

G4VPhysicalVolume * PrintGeomMatInfo::getTopPV ( )
private

Definition at line 502 of file PrintGeomMatInfo.cc.

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

Definition at line 488 of file PrintGeomMatInfo.cc.

void PrintGeomMatInfo::update ( const BeginOfJob )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 103 of file PrintGeomMatInfo.cc.

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

void PrintGeomMatInfo::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 143 of file PrintGeomMatInfo.cc.

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

Member Data Documentation

std::vector<double> PrintGeomMatInfo::_areaLayer
private

Definition at line 63 of file PrintGeomMatInfo.h.

std::vector<unsigned int> PrintGeomMatInfo::_countsPerLevel
private

Definition at line 64 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpAtts
private

Definition at line 55 of file PrintGeomMatInfo.h.

unsigned int PrintGeomMatInfo::_dumpIndex
private

Definition at line 67 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpIt
private

Definition at line 68 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpLV
private

Definition at line 55 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpLVList
private

Definition at line 53 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpLVMatBudget
private

Definition at line 53 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpLVTree
private

Definition at line 53 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpMaterial
private

Definition at line 54 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpPV
private

Definition at line 56 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpReplica
private

Definition at line 56 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpRotation
private

Definition at line 56 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpSense
private

Definition at line 55 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpSolid
private

Definition at line 55 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpSummary
private

Definition at line 53 of file PrintGeomMatInfo.h.

bool PrintGeomMatInfo::_dumpTouch
private

Definition at line 56 of file PrintGeomMatInfo.h.

unsigned int PrintGeomMatInfo::_level2Dump
private

Definition at line 66 of file PrintGeomMatInfo.h.

std::vector<std::string> PrintGeomMatInfo::_lvNames2Dump
private

Definition at line 60 of file PrintGeomMatInfo.h.

unsigned int PrintGeomMatInfo::_maxLevelsCounted
private

Definition at line 65 of file PrintGeomMatInfo.h.

std::vector<double> PrintGeomMatInfo::_radiusLayer
private

Definition at line 61 of file PrintGeomMatInfo.h.

std::vector<double> PrintGeomMatInfo::_zLayer
private

Definition at line 62 of file PrintGeomMatInfo.h.

G4NavigationHistory PrintGeomMatInfo::fHistory
private

Definition at line 71 of file PrintGeomMatInfo.h.

std::string PrintGeomMatInfo::name
private

Definition at line 57 of file PrintGeomMatInfo.h.

Referenced by VIDSelectorBase.VIDSelectorBase::initialize().

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

Definition at line 59 of file PrintGeomMatInfo.h.

int PrintGeomMatInfo::nchar
private

Definition at line 58 of file PrintGeomMatInfo.h.

mpvpv PrintGeomMatInfo::thePVTree
private

Definition at line 69 of file PrintGeomMatInfo.h.

G4VPhysicalVolume* PrintGeomMatInfo::theTopPV
private

Definition at line 70 of file PrintGeomMatInfo.h.