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

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

#include <WCSimRootEvent.hh>

Inheritance diagram for WCSimRootCherenkovHit:
Inheritance graph
Collaboration diagram for WCSimRootCherenkovHit:
Collaboration graph

Public Member Functions

 WCSimRootCherenkovHit ()
 
 WCSimRootCherenkovHit (Int_t tubeID, Int_t totalPe[2])
 
 WCSimRootCherenkovHit (Int_t tubeID, Int_t mPMTID, Int_t mPMT_PMTID, Int_t totalPe[2])
 
virtual ~WCSimRootCherenkovHit ()
 
bool CompareAllVariables (const WCSimRootCherenkovHit *c) const
 
Int_t GetTubeID () const
 
Int_t GetmPMTID () const
 
Int_t GetmPMT_PMTID () const
 
Int_t GetTotalPe (int i) const
 

Private Attributes

Int_t fTubeID
 PMT ID for the given PMT type. WARNING: Runs from 1 to N (not 0 to N-1, which is how you access elements from WCSimRootGeom) More...
 
Int_t fmPMTID
 The mPMT number this 3" PMT is in (Equivalent to fTubeID for 20" & OD PMTs) More...
 
Int_t fmPMT_PMTID
 The 3" PMT position ID inside this mPMT (runs from 1-19 for 3" PMTs inside mPMTs. Is 0 for 20" & OD PMTs) More...
 
Int_t fTotalPe [2]
 0th element: position in the WCSimRootCherenkovHitTime array where this PMTs' true hits start in this event. 1st element: Number of true hits on this PMT in this event. More...
 

Detailed Description

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

For each PMT that has at least 1 PMT hit, this class specifies the position of the detailed true hit information in the WCSimRootCherenkovHitTime array

Definition at line 125 of file WCSimRootEvent.hh.

Constructor & Destructor Documentation

◆ WCSimRootCherenkovHit() [1/3]

WCSimRootCherenkovHit::WCSimRootCherenkovHit ( )
inline

Definition at line 134 of file WCSimRootEvent.hh.

◆ WCSimRootCherenkovHit() [2/3]

WCSimRootCherenkovHit::WCSimRootCherenkovHit ( Int_t  tubeID,
Int_t  totalPe[2] 
)

Definition at line 636 of file WCSimRootEvent.cc.

◆ WCSimRootCherenkovHit() [3/3]

WCSimRootCherenkovHit::WCSimRootCherenkovHit ( Int_t  tubeID,
Int_t  mPMTID,
Int_t  mPMT_PMTID,
Int_t  totalPe[2] 
)

Definition at line 648 of file WCSimRootEvent.cc.

◆ ~WCSimRootCherenkovHit()

virtual WCSimRootCherenkovHit::~WCSimRootCherenkovHit ( )
inlinevirtual

Definition at line 143 of file WCSimRootEvent.hh.

Member Function Documentation

◆ CompareAllVariables()

bool WCSimRootCherenkovHit::CompareAllVariables ( const WCSimRootCherenkovHit c) const

Definition at line 878 of file WCSimRootEvent.cc.

◆ GetmPMT_PMTID()

Int_t WCSimRootCherenkovHit::GetmPMT_PMTID ( ) const
inline

Definition at line 149 of file WCSimRootEvent.hh.

◆ GetmPMTID()

Int_t WCSimRootCherenkovHit::GetmPMTID ( ) const
inline

Definition at line 148 of file WCSimRootEvent.hh.

◆ GetTotalPe()

Int_t WCSimRootCherenkovHit::GetTotalPe ( int  i) const
inline

Definition at line 150 of file WCSimRootEvent.hh.

◆ GetTubeID()

Int_t WCSimRootCherenkovHit::GetTubeID ( ) const
inline

Definition at line 147 of file WCSimRootEvent.hh.

Member Data Documentation

◆ fmPMT_PMTID

Int_t WCSimRootCherenkovHit::fmPMT_PMTID
private

The 3" PMT position ID inside this mPMT (runs from 1-19 for 3" PMTs inside mPMTs. Is 0 for 20" & OD PMTs)

Definition at line 130 of file WCSimRootEvent.hh.

◆ fmPMTID

Int_t WCSimRootCherenkovHit::fmPMTID
private

The mPMT number this 3" PMT is in (Equivalent to fTubeID for 20" & OD PMTs)

Definition at line 129 of file WCSimRootEvent.hh.

◆ fTotalPe

Int_t WCSimRootCherenkovHit::fTotalPe[2]
private

0th element: position in the WCSimRootCherenkovHitTime array where this PMTs' true hits start in this event. 1st element: Number of true hits on this PMT in this event.

Definition at line 131 of file WCSimRootEvent.hh.

◆ fTubeID

Int_t WCSimRootCherenkovHit::fTubeID
private

PMT ID for the given PMT type. WARNING: Runs from 1 to N (not 0 to N-1, which is how you access elements from WCSimRootGeom)

Definition at line 128 of file WCSimRootEvent.hh.


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