Report problems to ATLAS LXR Team (with time and IP address indicated)

The LXR Cross Referencer

source navigation ]
diff markup ]
identifier search ]
general search ]
 
 
Architecture: linux ]
Version: head ] [ nightly ] [ GaudiDev ]
  Links to LXR source navigation pages for stable releases [ 12.*.* ]   [ 13.*.* ]   [ 14.*.* ]   [ 15.*.* ] 

001 /***************************************************************************
002  a GeoVolumeAction
003  -----------------------------------------
004  Copyright (C) 2003 by ATLAS Collaboration
005  ***************************************************************************/
006 
007 //<doc><file>   $Id: SimpleVolAction.cxx,v 1.3 2006-04-10 17:12:17 stefspa Exp $
008 //<version>     $Name: not supported by cvs2svn $
009 
010 //<<<<<< INCLUDES                                                       >>>>>>
011 
012 #include "MuonGeoModel/SimpleVolAction.h"
013 
014 //<<<<<< PRIVATE DEFINES                                                >>>>>>
015 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
016 //<<<<<< PRIVATE TYPES                                                  >>>>>>
017 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
018 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
019 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
020 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
021 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
022 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
023 
024 namespace MuonGM {
025 
026 SimpleVolAction::SimpleVolAction ()
027     :GeoVolumeAction (GeoVolumeAction::TOP_DOWN)
028 {
029 }
030 
031 SimpleVolAction::~SimpleVolAction ()
032 {
033 }
034 
035 void SimpleVolAction::handleVPhysVol (const GeoVPhysVol *pv) 
036 {
037     //// here comes my job
038     //   std::cout<<" MY VOL Action is handlying a GeoVPhysVol "<<std::endl;
039     const GeoLogVol* lv = pv->getLogVol();
040     std::string name = lv->getName();
041     const GeoMaterial* mat = lv->getMaterial();
042     unsigned int nchild = pv->getNChildVols();
043 
044     std::cout<<" *** Tree Navigation *** in "<<name
045              <<" made of "<<mat->getName()
046              <<" N.of Children "<<nchild<<std::endl;
047     
048     for (unsigned int i=0 ; i < nchild; ++i)
049     {
050         std::cout<<" ... child n. "<<i<<" named "<<pv->getNameOfChildVol(i)<<std::endl;
051     }    
052 }
053 
054 
055 } // namespace MuonGM
056 

source navigation ] diff markup ] identifier search ] general search ]

Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems
This page was automatically generated by the LXR engine. Valid HTML 4.01!