FairRoot/PandaRoot
|
#include <PndDisc.h>
Public Member Functions | |
PndDisc () | |
PndDisc (const char *name, Bool_t active, Int_t det_id=0) | |
~PndDisc () | |
virtual void | Initialize () |
Initialize will be called after the Geometry is created. More... | |
virtual void | ConstructGeometry () |
virtual void | ConstructOpGeometry () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | BeginEvent () |
virtual void | EndOfEvent () |
Interface implementation - EndofEvent. More... | |
virtual void | PreTrack () |
virtual void | PostTrack () |
virtual bool | CheckIfSensitive (std::string name) |
Interface implementation - Check if a given volume name belongs to a sensitive volume. More... | |
virtual void | Register () |
Interface implementation - Register the data collections in FairRootManager. More... | |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
Interface implementation - Get a data collection by index. More... | |
virtual void | Reset () |
Interface implementation - reset the 'containers'. More... | |
void | StorePhotonTracks (Bool_t bval) |
Enable/Disable the storage of photon track information. More... | |
void | SetFilterInterval (Double_t const &wl_min_nm_, Double_t const &wl_max_nm_) |
Set the wavelength range of the bandpass filters. More... | |
Private Attributes | |
Bool_t | store_photon_tracks |
Bool_t | track_is_photon |
TLorentzVector | old_momentum |
TClonesArray * | clarr_sensor_hits |
TClonesArray * | clarr_photon_tracks |
hit on a photodetector surface More... | |
TClonesArray * | clarr_particle_tracks |
optical photon tracks More... | |
int | nextid_clarr_sensor_hits |
tracks of other particles More... | |
int | nextid_clarr_photon_tracks |
int | nextid_clarr_particle_tracks |
FairMCEventHeader * | ev_header |
std::map< int, std::pair< int, double > > | last_track_occurence |
std::set< std::string > | names_of_sensitive_volumes |
std::map< int, double > | internal_reflection_angle_of_photons |
std::map< int, std::pair < TLorentzVector, TLorentzVector > > | photons_entering_optics |
int | design_id |
photon track ids that have been More... | |
Double_t | wl_min_nm |
Double_t | wl_max_nm |
PndDisc::PndDisc | ( | ) |
Definition at line 49 of file PndDisc.cxx.
PndDisc::PndDisc | ( | const char * | name, |
Bool_t | active, | ||
Int_t | det_id = 0 |
||
) |
Definition at line 57 of file PndDisc.cxx.
PndDisc::~PndDisc | ( | ) |
Definition at line 67 of file PndDisc.cxx.
References clarr_particle_tracks, and clarr_sensor_hits.
|
virtual |
Definition at line 539 of file PndDisc.cxx.
References ev_header, internal_reflection_angle_of_photons, last_track_occurence, and photons_entering_optics.
|
virtual |
Interface implementation - Check if a given volume name belongs to a sensitive volume.
FAIR geometry construction (FairModule::ExpandNode) querys sensitivity for every single volume name. Volume name format: Name_CopyNr (e.g. Radiator_0). For simplicity, copy numbers are neglected and all instances ('copys') of a specific volume will be flagged sensitive/insensitive.
Definition at line 613 of file PndDisc.cxx.
References names_of_sensitive_volumes.
|
virtual |
Definition at line 102 of file PndDisc.cxx.
References names_of_sensitive_volumes, and TString.
|
virtual |
Definition at line 135 of file PndDisc.cxx.
References Double_t, i, wl_max_nm, and wl_min_nm.
|
virtual |
Interface implementation - EndofEvent.
Definition at line 551 of file PndDisc.cxx.
References clarr_particle_tracks, i, Print(), and Reset().
|
virtual |
Interface implementation - Get a data collection by index.
iColl |
Definition at line 578 of file PndDisc.cxx.
References clarr_particle_tracks, and clarr_sensor_hits.
|
virtual |
Initialize will be called after the Geometry is created.
Definition at line 86 of file PndDisc.cxx.
References clarr_particle_tracks, clarr_sensor_hits, and Initialize().
|
virtual |
Definition at line 258 of file PndDisc.cxx.
|
virtual |
Definition at line 248 of file PndDisc.cxx.
|
virtual |
Definition at line 268 of file PndDisc.cxx.
References Bool_t, clarr_particle_tracks, Double_t, ev_header, gGeoManager, internal_reflection_angle_of_photons, PndDiscParticleMCPoint::is_primary, last_track_occurence, mom, PndDiscParticleMCPoint::mom_out, nextid_clarr_particle_tracks, nextid_clarr_sensor_hits, p1, p2, PndDiscSensorMCPoint::photon_entering_momentum, PndDiscSensorMCPoint::photon_entering_pos, photons_entering_optics, Pi, pos, PndDiscParticleMCPoint::pos_out, pt(), track, TString, PndDiscParticleMCPoint::volume_id, wl_max_nm, and wl_min_nm.
|
virtual |
Interface implementation - Register the data collections in FairRootManager.
Definition at line 564 of file PndDisc.cxx.
References Bool_t, clarr_particle_tracks, and clarr_sensor_hits.
|
virtual |
Interface implementation - reset the 'containers'.
This function is abstract in FairDetector, but is not called by the underlying framework as one would expect. The user has to call it explicitly.
Definition at line 596 of file PndDisc.cxx.
References clarr_particle_tracks, clarr_sensor_hits, nextid_clarr_particle_tracks, and nextid_clarr_sensor_hits.
Referenced by EndOfEvent().
Set the wavelength range of the bandpass filters.
Definition at line 634 of file PndDisc.cxx.
References wl_max_nm, and wl_min_nm.
Referenced by sim(), and sim_complete().
void PndDisc::StorePhotonTracks | ( | Bool_t | bval | ) |
Enable/Disable the storage of photon track information.
The container for photon track information is created anyway, but it will not be filled if store_photon_tracks == false.
Definition at line 626 of file PndDisc.cxx.
References store_photon_tracks.
|
private |
optical photon tracks
Definition at line 83 of file PndDisc.h.
Referenced by EndOfEvent(), GetCollection(), Initialize(), ProcessHits(), Register(), Reset(), and ~PndDisc().
|
private |
|
private |
Definition at line 81 of file PndDisc.h.
Referenced by GetCollection(), Initialize(), Register(), Reset(), and ~PndDisc().
|
private |
|
private |
Definition at line 91 of file PndDisc.h.
Referenced by BeginEvent(), and ProcessHits().
|
private |
Definition at line 94 of file PndDisc.h.
Referenced by BeginEvent(), and ProcessHits().
|
private |
Definition at line 92 of file PndDisc.h.
Referenced by BeginEvent(), and ProcessHits().
|
private |
Definition at line 93 of file PndDisc.h.
Referenced by CheckIfSensitive(), and ConstructGeometry().
|
private |
Definition at line 89 of file PndDisc.h.
Referenced by ProcessHits(), and Reset().
|
private |
tracks of other particles
Definition at line 87 of file PndDisc.h.
Referenced by ProcessHits(), and Reset().
|
private |
Definition at line 95 of file PndDisc.h.
Referenced by BeginEvent(), and ProcessHits().
|
private |
Definition at line 77 of file PndDisc.h.
Referenced by StorePhotonTracks().
|
private |
Definition at line 99 of file PndDisc.h.
Referenced by ConstructOpGeometry(), ProcessHits(), and SetFilterInterval().
|
private |
Definition at line 98 of file PndDisc.h.
Referenced by ConstructOpGeometry(), ProcessHits(), and SetFilterInterval().