Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VDigitizerModule Class Referenceabstract

#include <G4VDigitizerModule.hh>

Collaboration diagram for G4VDigitizerModule:

Public Member Functions

 G4VDigitizerModule (G4String modName)
 
virtual ~G4VDigitizerModule ()
 
int operator== (const G4VDigitizerModule &right) const
 
int operator!= (const G4VDigitizerModule &right) const
 
virtual void Digitize ()=0
 
G4int GetNumberOfCollections () const
 
G4String GetCollectionName (G4int i) const
 
G4String GetName () const
 
void SetVerboseLevel (G4int val)
 

Protected Member Functions

void StoreDigiCollection (G4VDigiCollection *aDC)
 
void StoreDigiCollection (G4int DCID, G4VDigiCollection *aDC)
 

Protected Attributes

G4DigiManagerDigiManager
 
G4String moduleName
 
std::vector< G4StringcollectionName
 
G4int verboseLevel
 

Detailed Description

Definition at line 48 of file G4VDigitizerModule.hh.

Constructor & Destructor Documentation

G4VDigitizerModule::G4VDigitizerModule ( G4String  modName)

Definition at line 34 of file G4VDigitizerModule.cc.

35 :verboseLevel(0)
36 {
37  moduleName = modName;
39 }
static G4DigiManager * GetDMpointer()
G4DigiManager * DigiManager

Here is the call graph for this function:

G4VDigitizerModule::~G4VDigitizerModule ( )
virtual

Definition at line 41 of file G4VDigitizerModule.cc.

42 {;}

Member Function Documentation

virtual void G4VDigitizerModule::Digitize ( )
pure virtual

Here is the caller graph for this function:

G4String G4VDigitizerModule::GetCollectionName ( G4int  i) const
inline

Definition at line 80 of file G4VDigitizerModule.hh.

81  { return collectionName[i]; }
std::vector< G4String > collectionName

Here is the caller graph for this function:

G4String G4VDigitizerModule::GetName ( ) const
inline

Definition at line 82 of file G4VDigitizerModule.hh.

83  { return moduleName; }

Here is the caller graph for this function:

G4int G4VDigitizerModule::GetNumberOfCollections ( ) const
inline

Definition at line 78 of file G4VDigitizerModule.hh.

79  { return collectionName.size(); }
std::vector< G4String > collectionName

Here is the caller graph for this function:

int G4VDigitizerModule::operator!= ( const G4VDigitizerModule right) const

Definition at line 47 of file G4VDigitizerModule.cc.

48 { return (moduleName!=right.moduleName); }
int G4VDigitizerModule::operator== ( const G4VDigitizerModule right) const

Definition at line 44 of file G4VDigitizerModule.cc.

45 { return (moduleName==right.moduleName); }
void G4VDigitizerModule::SetVerboseLevel ( G4int  val)
inline

Definition at line 84 of file G4VDigitizerModule.hh.

85  { verboseLevel = val; }
void G4VDigitizerModule::StoreDigiCollection ( G4VDigiCollection aDC)
protected

Definition at line 50 of file G4VDigitizerModule.cc.

51 {
52  G4String DCnam = moduleName;
53  DCnam += "/";
54  DCnam += aDC->GetName();
55  G4int DCID = DigiManager->GetDigiCollectionID(DCnam);
56  if(DCID>=0) StoreDigiCollection(DCID,aDC);
57 }
int G4int
Definition: G4Types.hh:78
G4int GetDigiCollectionID(G4String DCname)
G4DigiManager * DigiManager
void StoreDigiCollection(G4VDigiCollection *aDC)

Here is the call graph for this function:

void G4VDigitizerModule::StoreDigiCollection ( G4int  DCID,
G4VDigiCollection aDC 
)
protected

Definition at line 59 of file G4VDigitizerModule.cc.

60 {
61  DigiManager->SetDigiCollection(DCID,aDC);
62 }
void SetDigiCollection(G4int DCID, G4VDigiCollection *aDC)
G4DigiManager * DigiManager

Here is the call graph for this function:

Member Data Documentation

std::vector<G4String> G4VDigitizerModule::collectionName
protected

Definition at line 74 of file G4VDigitizerModule.hh.

G4DigiManager* G4VDigitizerModule::DigiManager
protected

Definition at line 72 of file G4VDigitizerModule.hh.

G4String G4VDigitizerModule::moduleName
protected

Definition at line 73 of file G4VDigitizerModule.hh.

G4int G4VDigitizerModule::verboseLevel
protected

Definition at line 75 of file G4VDigitizerModule.hh.


The documentation for this class was generated from the following files: