SND@LHC Software
|
#include <splitcalHit.h>
Public Member Functions | |
splitcalHit () | |
splitcalHit (Int_t detID, Float_t tdc) | |
splitcalHit (splitcalPoint *p, Double_t t0) | |
virtual | ~splitcalHit () |
virtual void | Print () const |
Float_t | GetTDC () const |
void | setInvalid () |
bool | isValid () const |
std::string | GetPaddedString (int &id) |
std::string | GetDetectorElementName (int &id) |
void | Decoder (int &id, int &isPrecision, int &nLayer, int &nModuleX, int &nMdouleY, int &nStrip) |
void | Decoder (std::string &encodedID, int &isPrecision, int &nLayer, int &nModuleX, int &nMdouleY, int &nStrip) |
void | SetXYZ (double &x, double &y, double &z) |
void | SetIDs (int &isPrecision, int &nLayer, int &nModuleX, int &nModuleY, int &nStrip) |
void | SetEnergy (double &e) |
void | UpdateEnergy (double e) |
void | SetIsX (bool x) |
void | SetIsY (bool y) |
void | SetIsUsed (int u) |
void | SetXYZErrors (double xError, double yError, double zError) |
void | AddClusterIndex (int i) |
void | AddEnergyWeight (double w) |
double | GetX () |
double | GetY () |
double | GetZ () |
double | GetEnergy () |
double | GetEnergyForCluster (int i) |
int | GetIsPrecisionLayer () |
int | GetLayerNumber () |
int | GetModuleXNumber () |
int | GetModuleYNumber () |
int | GetStripNumber () |
bool | IsX () |
bool | IsY () |
int | IsUsed () |
double | GetXError () |
double | GetYError () |
double | GetZError () |
std::vector< int > | GetClusterIndices () |
std::vector< double > | GetEnergyWeights () |
bool | IsShared () |
double | GetEnergyWeightForIndex (int index) |
splitcalHit (const splitcalHit &point) | |
splitcalHit | operator= (const splitcalHit &point) |
![]() | |
ShipHit () | |
ShipHit (Int_t detID, Float_t digi) | |
virtual | ~ShipHit () |
Double_t | GetDigi () const |
Int_t | GetDetectorID () const |
void | SetDigi (Float_t d) |
void | SetDetectorID (Int_t detID) |
virtual void | Print (const Option_t *opt="") const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Member Functions | |
ClassDef (splitcalHit, 3) | |
Private Attributes | |
Float_t | flag |
double | _x |
double | _y |
double | _z |
double | _xError |
double | _yError |
double | _zError |
double | _energy |
int | _isPrecisionLayer |
int | _nLayer |
int | _nModuleX |
int | _nModuleY |
int | _nStrip |
int | _isUsed |
bool | _isX |
bool | _isY |
std::vector< double > | _vecEnergyWeights |
std::vector< int > | _vecClusterIndices |
Additional Inherited Members | |
![]() | |
ClassDef (ShipHit, 1) | |
![]() | |
Float_t | fdigi |
digitized detector hit | |
Int_t | fDetectorID |
Detector unique identifier. | |
Definition at line 10 of file splitcalHit.h.
splitcalHit::splitcalHit | ( | ) |
splitcalHit::splitcalHit | ( | Int_t | detID, |
Float_t | tdc | ||
) |
Constructor with arguments
detID | Detector ID |
digi | digitized/measured TDC |
flag | True/False, false if there is another hit with smaller tdc |
Definition at line 30 of file splitcalHit.cxx.
splitcalHit::splitcalHit | ( | splitcalPoint * | p, |
Double_t | t0 | ||
) |
Definition at line 36 of file splitcalHit.cxx.
|
virtual |
splitcalHit::splitcalHit | ( | const splitcalHit & | point | ) |
Copy constructor
|
inline |
Definition at line 48 of file splitcalHit.h.
|
inline |
Definition at line 49 of file splitcalHit.h.
|
private |
void splitcalHit::Decoder | ( | int & | id, |
int & | isPrecision, | ||
int & | nLayer, | ||
int & | nModuleX, | ||
int & | nMdouleY, | ||
int & | nStrip | ||
) |
Definition at line 172 of file splitcalHit.cxx.
void splitcalHit::Decoder | ( | std::string & | encodedID, |
int & | isPrecision, | ||
int & | nLayer, | ||
int & | nModuleX, | ||
int & | nMdouleY, | ||
int & | nStrip | ||
) |
Definition at line 151 of file splitcalHit.cxx.
|
inline |
Definition at line 69 of file splitcalHit.h.
std::string splitcalHit::GetDetectorElementName | ( | int & | id | ) |
Definition at line 123 of file splitcalHit.cxx.
|
inline |
Definition at line 54 of file splitcalHit.h.
double splitcalHit::GetEnergyForCluster | ( | int | i | ) |
Definition at line 193 of file splitcalHit.cxx.
double splitcalHit::GetEnergyWeightForIndex | ( | int | index | ) |
Definition at line 180 of file splitcalHit.cxx.
|
inline |
Definition at line 70 of file splitcalHit.h.
|
inline |
Definition at line 56 of file splitcalHit.h.
|
inline |
Definition at line 57 of file splitcalHit.h.
|
inline |
Definition at line 58 of file splitcalHit.h.
|
inline |
Definition at line 59 of file splitcalHit.h.
std::string splitcalHit::GetPaddedString | ( | int & | id | ) |
Definition at line 112 of file splitcalHit.cxx.
|
inline |
Definition at line 60 of file splitcalHit.h.
|
inline |
Definition at line 29 of file splitcalHit.h.
|
inline |
Definition at line 51 of file splitcalHit.h.
|
inline |
Definition at line 64 of file splitcalHit.h.
|
inline |
Definition at line 52 of file splitcalHit.h.
|
inline |
Definition at line 65 of file splitcalHit.h.
|
inline |
Definition at line 53 of file splitcalHit.h.
|
inline |
Definition at line 66 of file splitcalHit.h.
|
inline |
Definition at line 71 of file splitcalHit.h.
|
inline |
Definition at line 63 of file splitcalHit.h.
|
inline |
Definition at line 31 of file splitcalHit.h.
|
inline |
Definition at line 61 of file splitcalHit.h.
|
inline |
Definition at line 62 of file splitcalHit.h.
splitcalHit splitcalHit::operator= | ( | const splitcalHit & | point | ) |
|
virtual |
Output to screen
Definition at line 209 of file splitcalHit.cxx.
|
inline |
Definition at line 40 of file splitcalHit.h.
|
inline |
Definition at line 39 of file splitcalHit.h.
|
inline |
Definition at line 30 of file splitcalHit.h.
|
inline |
Definition at line 44 of file splitcalHit.h.
|
inline |
Definition at line 42 of file splitcalHit.h.
|
inline |
Definition at line 43 of file splitcalHit.h.
|
inline |
Definition at line 38 of file splitcalHit.h.
|
inline |
Definition at line 45 of file splitcalHit.h.
|
inline |
Definition at line 41 of file splitcalHit.h.
|
private |
Definition at line 82 of file splitcalHit.h.
|
private |
Definition at line 84 of file splitcalHit.h.
|
private |
Definition at line 84 of file splitcalHit.h.
|
private |
Definition at line 85 of file splitcalHit.h.
|
private |
Definition at line 85 of file splitcalHit.h.
|
private |
Definition at line 84 of file splitcalHit.h.
|
private |
Definition at line 84 of file splitcalHit.h.
|
private |
Definition at line 84 of file splitcalHit.h.
|
private |
Definition at line 84 of file splitcalHit.h.
|
private |
Definition at line 87 of file splitcalHit.h.
|
private |
Definition at line 86 of file splitcalHit.h.
|
private |
Definition at line 81 of file splitcalHit.h.
|
private |
Definition at line 81 of file splitcalHit.h.
|
private |
Definition at line 81 of file splitcalHit.h.
|
private |
Definition at line 81 of file splitcalHit.h.
|
private |
Definition at line 81 of file splitcalHit.h.
|
private |
Definition at line 81 of file splitcalHit.h.
|
private |
Definition at line 80 of file splitcalHit.h.