TF sensitive detector class based on G4VSensitiveDetector. More...
#include <TF_SD.h>


Public Member Functions | |
| TF_SD (G4String name) | |
| Constructor.   | |
| ~TF_SD () | |
| Destructor.   | |
| void | clear () | 
| In the event of an aborted event clear hit collections not assigned to the usual hit collection..   | |
| void | DrawAll () | 
| Draw all hits.   | |
| void | EndOfEvent (G4HCofThisEvent *HCE) | 
| End of event routine.   | |
| G4double | getThreshold () | 
| G4double | getTresol () | 
| G4double | getYresol () | 
| void | Initialize (G4HCofThisEvent *HCE) | 
| Initialise the hits collection.   | |
| void | PrintAll () | 
| Print all hits.   | |
| G4bool | ProcessHits (G4Step *aStep, G4TouchableHistory *ROhist) | 
| Routine to process each hit.   | |
| G4double | setThreshold (G4double) | 
| Set/Get energy threshold.   | |
| G4double | setTresol (G4double) | 
| Set/Get T resolution.   | |
| G4double | setYresol (G4double) | 
| Set/Get Y resolution.   | |
Private Attributes | |
| TF_HitsCollection * | TF_HC | 
| Data member consists of a pointer to the hits collection.   | |
| G4AffineTransform | TF_LocaltoWorld [N_TF] | 
| G4double | TF_threshold | 
| Energy threshold for valid hit.   | |
| G4bool | TF_Transform [N_TF] | 
| G4double | TF_Tresol | 
| time resolution.   | |
| G4AffineTransform | TF_WorldtoLocal [N_TF] | 
| Boolean if transforms defined.   | |
| G4double | TF_Yresol | 
| y resolution.   | |
TF sensitive detector class based on G4VSensitiveDetector.
Creates the TF_SD class and provides the member routines for initialising the hits collection, processing of hits, and end of event action.
Definition at line 46 of file TF_SD.h.
| TF_SD::TF_SD | ( | G4String | name ) | 
Constructor.
Definition at line 50 of file TF_SD.cc.
References TF_Messenger::Instance(), N_TF, TF_Messenger::setTF_SDptr(), TF_threshold, TF_Transform, TF_Tresol, and TF_Yresol.

| void TF_SD::clear | ( | ) | 
| void TF_SD::EndOfEvent | ( | G4HCofThisEvent * | HCE ) | 
End of event routine.
Definition at line 169 of file TF_SD.cc.
References TF_Data::e, TF_Data::id, TF_Data::nTF, TF_Data::Reset(), TF_Data::t, TF_HC, EventAction::tfdata, TF_Data::tr, TF_Data::tt, TF_Data::tx, TF_Data::txl, TF_Data::ty, TF_Data::tyl, TF_Data::tz, TF_Data::tzl, TF_Data::x, TF_Data::xl, TF_Data::y, TF_Data::yl, TF_Data::z, and TF_Data::zl.

| G4double TF_SD::getThreshold | ( | ) | 
Definition at line 222 of file TF_SD.cc.
References TF_threshold.
| void TF_SD::Initialize | ( | G4HCofThisEvent * | HCE ) | 
| G4bool TF_SD::ProcessHits | ( | G4Step * | aStep, | 
| G4TouchableHistory * | ROhist | ||
| ) | 
Routine to process each hit.
Stores all the hit information in the data members of the hit class. ROHist is only given if a readout geometry is associated with th is detector.
Definition at line 90 of file TF_SD.cc.
References TF_Hit::copyno, TF_Hit::edep, TF_Hit::local, TF_HC, TF_LocaltoWorld, TF_threshold, TF_Transform, TF_Tresol, TF_WorldtoLocal, TF_Yresol, TF_Hit::time, TF_Hit::tlocal, TF_Hit::trackid, TF_Hit::ttime, TF_Hit::tworld, and TF_Hit::world.
| G4double TF_SD::setThreshold | ( | G4double | thres ) | 
| G4double TF_SD::setTresol | ( | G4double | res ) | 
| G4double TF_SD::setYresol | ( | G4double | res ) | 
TF_HitsCollection* TF_SD::TF_HC [private] | 
        
Data member consists of a pointer to the hits collection.
Pointer to hits collection.
Definition at line 108 of file TF_SD.h.
Referenced by EndOfEvent(), Initialize(), PrintAll(), and ProcessHits().
G4AffineTransform TF_SD::TF_LocaltoWorld[N_TF] [private] | 
        
Definition at line 119 of file TF_SD.h.
Referenced by ProcessHits().
G4double TF_SD::TF_threshold [private] | 
        
Energy threshold for valid hit.
Definition at line 110 of file TF_SD.h.
Referenced by getThreshold(), ProcessHits(), setThreshold(), and TF_SD().
G4bool TF_SD::TF_Transform[N_TF] [private] | 
        
Definition at line 114 of file TF_SD.h.
Referenced by ProcessHits(), and TF_SD().
G4double TF_SD::TF_Tresol [private] | 
        
time resolution.
Definition at line 111 of file TF_SD.h.
Referenced by getTresol(), ProcessHits(), setTresol(), and TF_SD().
G4AffineTransform TF_SD::TF_WorldtoLocal[N_TF] [private] | 
        
Boolean if transforms defined.
Pointers to transformations.
Definition at line 118 of file TF_SD.h.
Referenced by ProcessHits().
G4double TF_SD::TF_Yresol [private] | 
        
y resolution.
Definition at line 112 of file TF_SD.h.
Referenced by getYresol(), ProcessHits(), setYresol(), and TF_SD().
 1.7.2