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

Class holding digitised hit (aka digit or digi) information (after PMT & electronics simulation + triggering) More...

#include <WCSimRootEvent.hh>

Inheritance diagram for WCSimRootCherenkovDigiHit:
Inheritance graph
Collaboration diagram for WCSimRootCherenkovDigiHit:
Collaboration graph

Public Member Functions

 WCSimRootCherenkovDigiHit ()
 
 WCSimRootCherenkovDigiHit (Double_t q, Double_t t, Int_t tubeid, std::vector< int > photon_ids)
 
 WCSimRootCherenkovDigiHit (Double_t q, Double_t t, Int_t tubeid, Int_t mpmtid, Int_t mpmt_pmtid, std::vector< int > photon_ids)
 
virtual ~WCSimRootCherenkovDigiHit ()
 
bool CompareAllVariables (const WCSimRootCherenkovDigiHit *c) const
 
void SetT (float t)
 
void SetPhotonIds (std::vector< int > photon_ids)
 
Float_t GetQ () const
 
Double_t GetT () const
 
Int_t GetTubeId () const
 
Int_t GetmPMTId () const
 
Int_t GetmPMT_PMTId () const
 
std::vector< int > GetPhotonIds () const
 

Private Attributes

Float_t fQ
 Digitised charge (unit: something like p.e.) More...
 
Double_t fT
 Digitised time, relative to the digit time (date in the WCSimRootEventHeader) (unit: ns) More...
 
Int_t fTubeId
 PMT ID. 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...
 
std::vector< int > fPhotonIds
 Truth matching. Position(s) in the CherenkovHitTime array that contains the true hit(s) that created this digit. More...
 

Detailed Description

Class holding digitised hit (aka digit or digi) information (after PMT & electronics simulation + triggering)

There is one entry per digit

Definition at line 238 of file WCSimRootEvent.hh.

Constructor & Destructor Documentation

◆ WCSimRootCherenkovDigiHit() [1/3]

WCSimRootCherenkovDigiHit::WCSimRootCherenkovDigiHit ( )
inline

Definition at line 250 of file WCSimRootEvent.hh.

◆ WCSimRootCherenkovDigiHit() [2/3]

WCSimRootCherenkovDigiHit::WCSimRootCherenkovDigiHit ( Double_t  q,
Double_t  t,
Int_t  tubeid,
std::vector< int >  photon_ids 
)

Definition at line 737 of file WCSimRootEvent.cc.

◆ WCSimRootCherenkovDigiHit() [3/3]

WCSimRootCherenkovDigiHit::WCSimRootCherenkovDigiHit ( Double_t  q,
Double_t  t,
Int_t  tubeid,
Int_t  mpmtid,
Int_t  mpmt_pmtid,
std::vector< int >  photon_ids 
)

Definition at line 751 of file WCSimRootEvent.cc.

◆ ~WCSimRootCherenkovDigiHit()

virtual WCSimRootCherenkovDigiHit::~WCSimRootCherenkovDigiHit ( )
inlinevirtual

Definition at line 254 of file WCSimRootEvent.hh.

Member Function Documentation

◆ CompareAllVariables()

bool WCSimRootCherenkovDigiHit::CompareAllVariables ( const WCSimRootCherenkovDigiHit c) const

Definition at line 924 of file WCSimRootEvent.cc.

◆ GetmPMT_PMTId()

Int_t WCSimRootCherenkovDigiHit::GetmPMT_PMTId ( ) const
inline

Definition at line 264 of file WCSimRootEvent.hh.

◆ GetmPMTId()

Int_t WCSimRootCherenkovDigiHit::GetmPMTId ( ) const
inline

Definition at line 263 of file WCSimRootEvent.hh.

◆ GetPhotonIds()

std::vector<int> WCSimRootCherenkovDigiHit::GetPhotonIds ( ) const
inline

Definition at line 265 of file WCSimRootEvent.hh.

◆ GetQ()

Float_t WCSimRootCherenkovDigiHit::GetQ ( ) const
inline

Definition at line 260 of file WCSimRootEvent.hh.

◆ GetT()

Double_t WCSimRootCherenkovDigiHit::GetT ( ) const
inline

Definition at line 261 of file WCSimRootEvent.hh.

◆ GetTubeId()

Int_t WCSimRootCherenkovDigiHit::GetTubeId ( ) const
inline

Definition at line 262 of file WCSimRootEvent.hh.

◆ SetPhotonIds()

void WCSimRootCherenkovDigiHit::SetPhotonIds ( std::vector< int >  photon_ids)
inline

Definition at line 258 of file WCSimRootEvent.hh.

◆ SetT()

void WCSimRootCherenkovDigiHit::SetT ( float  t)
inline

Definition at line 257 of file WCSimRootEvent.hh.

Member Data Documentation

◆ fmPMT_PMTId

Int_t WCSimRootCherenkovDigiHit::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 246 of file WCSimRootEvent.hh.

◆ fmPMTId

Int_t WCSimRootCherenkovDigiHit::fmPMTId
private

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

Definition at line 245 of file WCSimRootEvent.hh.

◆ fPhotonIds

std::vector<int> WCSimRootCherenkovDigiHit::fPhotonIds
private

Truth matching. Position(s) in the CherenkovHitTime array that contains the true hit(s) that created this digit.

Definition at line 247 of file WCSimRootEvent.hh.

◆ fQ

Float_t WCSimRootCherenkovDigiHit::fQ
private

Digitised charge (unit: something like p.e.)

Definition at line 242 of file WCSimRootEvent.hh.

◆ fT

Double_t WCSimRootCherenkovDigiHit::fT
private

Digitised time, relative to the digit time (date in the WCSimRootEventHeader) (unit: ns)

Definition at line 243 of file WCSimRootEvent.hh.

◆ fTubeId

Int_t WCSimRootCherenkovDigiHit::fTubeId
private

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

Definition at line 244 of file WCSimRootEvent.hh.


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