WCSim
Public Member Functions | Private Attributes | List of all members
WCSimRootCherenkovHitTime Class Reference

Class holding true (Cherenkov photon + dark noise) hit information. More...

#include <WCSimRootEvent.hh>

Inheritance diagram for WCSimRootCherenkovHitTime:
Inheritance graph
Collaboration diagram for WCSimRootCherenkovHitTime:
Collaboration graph

Public Member Functions

 WCSimRootCherenkovHitTime ()
 
 WCSimRootCherenkovHitTime (Double_t truetime, Int_t parentSavedTrackID, Float_t photonStartTime, Float_t photonStartPos[3], Float_t photonEndPos[3], Float_t photonStartDir[3], Float_t photonEndDir[3], ProcessType_t photonCreatorProcess)
 
virtual ~WCSimRootCherenkovHitTime ()
 
bool CompareAllVariables (const WCSimRootCherenkovHitTime *c) const
 
Double_t GetTruetime () const
 
Int_t GetParentID () const
 
Int_t GetParentSavedTrackID () const
 
Float_t GetPhotonStartTime () const
 
Float_t GetPhotonStartPos (int i) const
 
Float_t GetPhotonEndPos (int i) const
 
Float_t GetPhotonStartDir (int i) const
 
Float_t GetPhotonEndDir (int i) const
 
ProcessType_t GetPhotonCreatorProcess () const
 
std::string GetPhotonCreatorProcessName () const
 

Private Attributes

Double_t fTruetime
 True hit time (unit: ns) More...
 
Int_t fParentSavedTrackID
 Truth matching. ID of the parent track that created the Cherenkov photon that created this hit. Note that this is not the position in the WCSimRootTrack array - you do need to loop and check the ID. Note that if you are running in non-default mode and you are saving photon tracks, this will be the ID of the photon track. Note: for dark noise, this number is -1. More...
 
Float_t fPhotonStartTime
 Start time of the photon that created this hit (unit: ns) More...
 
Float_t fPhotonStartPos [3]
 Start position (x,y,z) of the photon that created this hit (unit: cm) More...
 
Float_t fPhotonEndPos [3]
 End position (x,y,z) of the photon that created this hit (unit: cm) More...
 
Float_t fPhotonStartDir [3]
 
Float_t fPhotonEndDir [3]
 
ProcessType_t fPhotonCreatorProcess
 Process that created the photon that created this hit. More...
 

Detailed Description

Class holding true (Cherenkov photon + dark noise) hit information.

There is one entry per hit.

Definition at line 161 of file WCSimRootEvent.hh.

Constructor & Destructor Documentation

◆ WCSimRootCherenkovHitTime() [1/2]

WCSimRootCherenkovHitTime::WCSimRootCherenkovHitTime ( )
inline

Definition at line 175 of file WCSimRootEvent.hh.

◆ WCSimRootCherenkovHitTime() [2/2]

WCSimRootCherenkovHitTime::WCSimRootCherenkovHitTime ( Double_t  truetime,
Int_t  parentSavedTrackID,
Float_t  photonStartTime,
Float_t  photonStartPos[3],
Float_t  photonEndPos[3],
Float_t  photonStartDir[3],
Float_t  photonEndDir[3],
ProcessType_t  photonCreatorProcess 
)

Definition at line 662 of file WCSimRootEvent.cc.

◆ ~WCSimRootCherenkovHitTime()

virtual WCSimRootCherenkovHitTime::~WCSimRootCherenkovHitTime ( )
inlinevirtual

Definition at line 184 of file WCSimRootEvent.hh.

Member Function Documentation

◆ CompareAllVariables()

bool WCSimRootCherenkovHitTime::CompareAllVariables ( const WCSimRootCherenkovHitTime c) const

Definition at line 893 of file WCSimRootEvent.cc.

◆ GetParentID()

Int_t WCSimRootCherenkovHitTime::GetParentID ( ) const
inline

Definition at line 188 of file WCSimRootEvent.hh.

◆ GetParentSavedTrackID()

Int_t WCSimRootCherenkovHitTime::GetParentSavedTrackID ( ) const
inline

Definition at line 189 of file WCSimRootEvent.hh.

◆ GetPhotonCreatorProcess()

ProcessType_t WCSimRootCherenkovHitTime::GetPhotonCreatorProcess ( ) const
inline

Definition at line 195 of file WCSimRootEvent.hh.

◆ GetPhotonCreatorProcessName()

std::string WCSimRootCherenkovHitTime::GetPhotonCreatorProcessName ( ) const
inline

Definition at line 196 of file WCSimRootEvent.hh.

◆ GetPhotonEndDir()

Float_t WCSimRootCherenkovHitTime::GetPhotonEndDir ( int  i) const
inline

Definition at line 194 of file WCSimRootEvent.hh.

◆ GetPhotonEndPos()

Float_t WCSimRootCherenkovHitTime::GetPhotonEndPos ( int  i) const
inline

Definition at line 192 of file WCSimRootEvent.hh.

◆ GetPhotonStartDir()

Float_t WCSimRootCherenkovHitTime::GetPhotonStartDir ( int  i) const
inline

Definition at line 193 of file WCSimRootEvent.hh.

◆ GetPhotonStartPos()

Float_t WCSimRootCherenkovHitTime::GetPhotonStartPos ( int  i) const
inline

Definition at line 191 of file WCSimRootEvent.hh.

◆ GetPhotonStartTime()

Float_t WCSimRootCherenkovHitTime::GetPhotonStartTime ( ) const
inline

Definition at line 190 of file WCSimRootEvent.hh.

◆ GetTruetime()

Double_t WCSimRootCherenkovHitTime::GetTruetime ( ) const
inline

Definition at line 187 of file WCSimRootEvent.hh.

Member Data Documentation

◆ fParentSavedTrackID

Int_t WCSimRootCherenkovHitTime::fParentSavedTrackID
private

Truth matching. ID of the parent track that created the Cherenkov photon that created this hit. Note that this is not the position in the WCSimRootTrack array - you do need to loop and check the ID. Note that if you are running in non-default mode and you are saving photon tracks, this will be the ID of the photon track. Note: for dark noise, this number is -1.

Definition at line 166 of file WCSimRootEvent.hh.

◆ fPhotonCreatorProcess

ProcessType_t WCSimRootCherenkovHitTime::fPhotonCreatorProcess
private

Process that created the photon that created this hit.

Definition at line 172 of file WCSimRootEvent.hh.

◆ fPhotonEndDir

Float_t WCSimRootCherenkovHitTime::fPhotonEndDir[3]
private

Definition at line 171 of file WCSimRootEvent.hh.

◆ fPhotonEndPos

Float_t WCSimRootCherenkovHitTime::fPhotonEndPos[3]
private

End position (x,y,z) of the photon that created this hit (unit: cm)

Definition at line 169 of file WCSimRootEvent.hh.

◆ fPhotonStartDir

Float_t WCSimRootCherenkovHitTime::fPhotonStartDir[3]
private

Definition at line 170 of file WCSimRootEvent.hh.

◆ fPhotonStartPos

Float_t WCSimRootCherenkovHitTime::fPhotonStartPos[3]
private

Start position (x,y,z) of the photon that created this hit (unit: cm)

Definition at line 168 of file WCSimRootEvent.hh.

◆ fPhotonStartTime

Float_t WCSimRootCherenkovHitTime::fPhotonStartTime
private

Start time of the photon that created this hit (unit: ns)

Definition at line 167 of file WCSimRootEvent.hh.

◆ fTruetime

Double_t WCSimRootCherenkovHitTime::fTruetime
private

True hit time (unit: ns)

Definition at line 165 of file WCSimRootEvent.hh.


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