G4HCIOentryT< T > Class Template Reference

#include <G4HCIOentryT.hh>

Inheritance diagram for G4HCIOentryT< T >:

G4VHCIOentry

Public Member Functions

 G4HCIOentryT (std::string n)
 ~G4HCIOentryT ()
void CreateHCIOmanager (std::string detName, std::string colName)
void DeleteHCIOmanager ()

Detailed Description

template<class T>
class G4HCIOentryT< T >

Definition at line 44 of file G4HCIOentryT.hh.


Constructor & Destructor Documentation

template<class T>
G4HCIOentryT< T >::G4HCIOentryT ( std::string  n  )  [inline]

template<class T>
G4HCIOentryT< T >::~G4HCIOentryT (  )  [inline]

Definition at line 58 of file G4HCIOentryT.hh.

00058 {};


Member Function Documentation

template<class T>
void G4HCIOentryT< T >::CreateHCIOmanager ( std::string  detName,
std::string  colName 
) [inline, virtual]

Reimplemented from G4VHCIOentry.

Definition at line 62 of file G4HCIOentryT.hh.

References G4cout, G4endl, G4HCIOcatalog::GetHCIOcatalog(), G4VHCIOentry::m_verbose, G4HCIOcatalog::PrintHCIOmanager(), and G4HCIOcatalog::RegisterHCIOmanager().

00063       {
00064         if ( f_manager == 0 ) {
00065           f_manager = new T( detName, colName );
00066           if ( m_verbose > 2 ) {
00067             G4cout << "G4HCIOentryT: Constructing HitsCollection IO manager"
00068                    << " for \"" << detName << "\" " << f_manager <<  G4endl;
00069           }
00070           G4HCIOcatalog::GetHCIOcatalog()->RegisterHCIOmanager(f_manager);
00071           if ( m_verbose > 2 ) {
00072             G4HCIOcatalog::GetHCIOcatalog()->PrintHCIOmanager();
00073           }
00074         }
00075       }

template<class T>
void G4HCIOentryT< T >::DeleteHCIOmanager (  )  [inline]

Definition at line 78 of file G4HCIOentryT.hh.

00078 { if (f_manager!=0) delete f_manager; };


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:52:09 2013 for Geant4 by  doxygen 1.4.7