VMC Examples Version 6.6
|
The tracker sensitive detector. More...
#include <Ex02TrackerSD.h>
Public Member Functions | |
Ex02TrackerSD (const char *name) | |
Ex02TrackerSD (const Ex02TrackerSD &origin) | |
Ex02TrackerSD () | |
virtual | ~Ex02TrackerSD () |
void | Initialize () |
Bool_t | ProcessHits () |
void | EndOfEvent () |
void | Register () |
virtual void | Print (const Option_t *option=0) const |
void | SetVerboseLevel (Int_t level) |
Private Member Functions | |
Ex02TrackerHit * | AddHit () |
Private Attributes | |
TClonesArray * | fTrackerCollection |
Hits collection. | |
Int_t | fSensitiveVolumeID |
Sensitive volume Id. | |
Int_t | fVerboseLevel |
Verbosity level. | |
Ex02TrackerSD::Ex02TrackerSD | ( | const char * | name | ) |
Standard constructor
name | The tracker hits collection name |
Definition at line 37 of file Ex02TrackerSD.cxx.
Ex02TrackerSD::Ex02TrackerSD | ( | const Ex02TrackerSD & | origin | ) |
Copy constructor (for clonig on worker thread in MT mode).
origin | The source object (on master). |
Definition at line 48 of file Ex02TrackerSD.cxx.
Ex02TrackerSD::Ex02TrackerSD | ( | ) |
Default constructor
Definition at line 59 of file Ex02TrackerSD.cxx.
|
virtual |
void Ex02TrackerSD::Initialize | ( | ) |
Register hits collection in the Root manager; set sensitive volumes.
Definition at line 92 of file Ex02TrackerSD.cxx.
Bool_t Ex02TrackerSD::ProcessHits | ( | ) |
Create hits (in stepping).
Definition at line 113 of file Ex02TrackerSD.cxx.
void Ex02TrackerSD::EndOfEvent | ( | ) |
Print hits collection (if verbose) and delete hits afterwards.
Definition at line 149 of file Ex02TrackerSD.cxx.
void Ex02TrackerSD::Register | ( | ) |
Register the hits collection in the Root manager.
Definition at line 161 of file Ex02TrackerSD.cxx.
|
virtual |
Print the hits collection.
Definition at line 170 of file Ex02TrackerSD.cxx.
|
inline |
Set verbose level
level | The new verbose level value |
Definition at line 65 of file Ex02TrackerSD.h.
|
private |
Create a new hit in the TClonesArray.
Definition at line 76 of file Ex02TrackerSD.cxx.
|
private |
Hits collection.
Definition at line 56 of file Ex02TrackerSD.h.
|
private |
Sensitive volume Id.
Definition at line 57 of file Ex02TrackerSD.h.
|
private |
Verbosity level.
Definition at line 58 of file Ex02TrackerSD.h.