ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Point in space with charge. More...
#include <AtHit.h>
Classes | |
struct | MCSimPoint |
Public Types | |
using | XYZPoint = ROOT::Math::XYZPoint |
using | XYZVector = ROOT::Math::XYZVector |
Public Member Functions | |
AtHit (Int_t hitID=-1) | |
AtHit (Int_t padNum, XYZPoint location, Double_t charge) | |
AtHit (Int_t hitID, Int_t padNum, XYZPoint location, Double_t charge) | |
AtHit (const AtHit &)=default | |
AtHit (AtHit &&)=default | |
AtHit & | operator= (const AtHit &)=default |
AtHit & | operator= (AtHit &&)=default |
virtual | ~AtHit ()=default |
virtual std::unique_ptr< AtHit > | Clone () |
H5::CompType | GetHDF5Type () |
Returns the type specification of a hit. More... | |
void | SetCharge (Double_t charge) |
void | SetChargeVariance (Double_t chargeVar) |
void | SetPosition (const XYZPoint &pos) |
virtual void | SetPositionVariance (const XYZVector &vec) |
void | SetHitID (Int_t hitID) |
void | SetPadNum (Int_t padNum) |
void | SetTraceIntegral (Double_t integral) |
void | SetHitMult (Int_t HitMult) |
void | SetTimeStamp (Int_t Time) |
void | SetTimeStampCorr (Double_t TimeCorr) |
void | SetTimeStampCorrInter (Double_t TimeCorrInter) |
void | AddMCSimPoint (const AtHit::MCSimPoint &point) |
Int_t | GetHitID () const |
const XYZPoint & | GetPosition () const |
const XYZVector & | GetPositionVariance () const |
XYZVector | GetPositionSigma () const |
Double_t | GetCharge () const |
Int_t | GetPadNum () const |
Double_t | GetTraceIntegral () const |
Int_t | GetHitMult () const |
Int_t | GetTimeStamp () const |
Double_t | GetTimeStampCorr () const |
Double_t | GetTimeStampCorrInter () const |
const std::vector< AtHit::MCSimPoint > & | GetMCSimPointArray () const |
ClassDef (AtHit, 5) | |
Static Public Member Functions | |
static Bool_t | SortHit (const AtHit &lhs, const AtHit &rhs) |
static Bool_t | SortHit (const std::unique_ptr< AtHit > &lhs, const std::unique_ptr< AtHit > &rhs) |
static Bool_t | SortHitTimePtr (const std::unique_ptr< AtHit > &lhs, const std::unique_ptr< AtHit > &rhs) |
static Bool_t | SortHitTime (const AtHit &lhs, const AtHit &rhs) |
Protected Attributes | |
Double_t | fCharge |
Double_t | fChargeVariance {0} |
XYZPoint | fPosition |
XYZVector | fPositionVariance {} |
Int_t | fHitID |
Int_t | fPadNum |
Double_t | fTraceIntegral {-1} |
Int_t | fHitMult {1} |
Int_t | fTimeStamp {0} |
Double_t | fTimeStampCorr {0} |
Double_t | fTimeStampCorrInter {0} |
std::vector< AtHit::MCSimPoint > | fMCSimPointArray |
Point in space with charge.
A hit describes a point in the detector where charge was deposited, It is the output of a PSA method.
using AtHit::XYZPoint = ROOT::Math::XYZPoint |
using AtHit::XYZVector = ROOT::Math::XYZVector |
AtHit::AtHit | ( | Int_t | padNum, |
XYZPoint | location, | ||
Double_t | charge | ||
) |
AtHit::AtHit | ( | Int_t | hitID, |
Int_t | padNum, | ||
XYZPoint | location, | ||
Double_t | charge | ||
) |
|
default |
|
default |
|
virtualdefault |
|
inline |
AtHit::ClassDef | ( | AtHit | , |
5 | |||
) |
|
virtual |
Reimplemented in AtHitCluster, and AtHitClusterFull.
H5::CompType AtHit::GetHDF5Type | ( | ) |
|
inline |
AtHit::XYZVector AtHit::GetPositionSigma | ( | ) | const |
|
inlinevirtual |
Reimplemented in AtHitCluster.
|
inline |
|
protected |