|
FairShip
|
#include <splitcalHit.h>


Public Member Functions | |
| splitcalHit () | |
| splitcalHit (Int_t detID, Float_t tdc) | |
| splitcalHit (const std::vector< splitcalPoint > &points, Double_t t0) | |
| ~splitcalHit () override=default | |
| 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 (const 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) |
| double | GetX () const |
| double | GetY () const |
| double | GetZ () const |
| double | GetEnergy () const |
| int | GetIsPrecisionLayer () const |
| int | GetLayerNumber () const |
| int | GetModuleXNumber () const |
| int | GetModuleYNumber () const |
| int | GetStripNumber () const |
| bool | IsX () const |
| bool | IsY () const |
| int | IsUsed () const |
| double | GetXError () const |
| double | GetYError () const |
| double | GetZError () const |
| splitcalHit (const splitcalHit &point)=default | |
| splitcalHit & | operator= (const splitcalHit &point)=default |
Public Member Functions inherited from SHiP::DetectorHit | |
| DetectorHit () | |
| DetectorHit (Int_t detID, Float_t digi) | |
| ~DetectorHit () override=default | |
| Double_t | GetDigi () const |
| Int_t | GetDetectorID () const |
| void | SetDigi (Float_t d) |
| void | SetDetectorID (Int_t detID) |
| void | Print (const Option_t *opt="") const override |
Private Member Functions | |
| ClassDef (splitcalHit, 6) | |
Private Attributes | |
| Bool_t | flag {true} |
| 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 |
Additional Inherited Members | |
Protected Member Functions inherited from SHiP::DetectorHit | |
| ClassDefOverride (SHiP::DetectorHit, 1) | |
Protected Attributes inherited from SHiP::DetectorHit | |
| Float_t | fdigi |
| digitized detector hit | |
| Int_t | fDetectorID |
| Detector unique identifier. | |
Definition at line 14 of file splitcalHit.h.
| splitcalHit::splitcalHit | ( | ) |
Default constructor
Definition at line 33 of file splitcalHit.cxx.
| 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 35 of file splitcalHit.cxx.
| splitcalHit::splitcalHit | ( | const std::vector< splitcalPoint > & | points, |
| Double_t | t0 | ||
| ) |
Definition at line 39 of file splitcalHit.cxx.
|
overridedefault |
Destructor
|
default |
Copy constructor
|
private |
| void splitcalHit::Decoder | ( | const std::string & | encodedID, |
| int & | isPrecision, | ||
| int & | nLayer, | ||
| int & | nModuleX, | ||
| int & | nMdouleY, | ||
| int & | nStrip | ||
| ) |
Definition at line 133 of file splitcalHit.cxx.
| void splitcalHit::Decoder | ( | int | id, |
| int & | isPrecision, | ||
| int & | nLayer, | ||
| int & | nModuleX, | ||
| int & | nMdouleY, | ||
| int & | nStrip | ||
| ) |
Definition at line 154 of file splitcalHit.cxx.
| std::string splitcalHit::GetDetectorElementName | ( | int | id | ) |
Definition at line 109 of file splitcalHit.cxx.
|
inline |
Definition at line 70 of file splitcalHit.h.
|
inline |
Definition at line 71 of file splitcalHit.h.
|
inline |
Definition at line 72 of file splitcalHit.h.
|
inline |
Definition at line 73 of file splitcalHit.h.
|
inline |
Definition at line 74 of file splitcalHit.h.
| std::string splitcalHit::GetPaddedString | ( | int | id | ) |
Definition at line 99 of file splitcalHit.cxx.
|
inline |
Definition at line 75 of file splitcalHit.h.
|
inline |
Definition at line 32 of file splitcalHit.h.
|
inline |
Definition at line 67 of file splitcalHit.h.
|
inline |
Definition at line 79 of file splitcalHit.h.
|
inline |
Definition at line 68 of file splitcalHit.h.
|
inline |
Definition at line 80 of file splitcalHit.h.
|
inline |
Definition at line 69 of file splitcalHit.h.
|
inline |
Definition at line 81 of file splitcalHit.h.
|
inline |
Definition at line 78 of file splitcalHit.h.
|
inline |
Definition at line 34 of file splitcalHit.h.
|
inline |
Definition at line 76 of file splitcalHit.h.
|
inline |
Definition at line 77 of file splitcalHit.h.
|
default |
| void splitcalHit::Print | ( | ) | const |
Definition at line 163 of file splitcalHit.cxx.
|
inline |
Definition at line 56 of file splitcalHit.h.
|
inline |
Definition at line 48 of file splitcalHit.h.
|
inline |
Definition at line 33 of file splitcalHit.h.
|
inline |
Definition at line 60 of file splitcalHit.h.
|
inline |
Definition at line 58 of file splitcalHit.h.
|
inline |
Definition at line 59 of file splitcalHit.h.
|
inline |
Definition at line 43 of file splitcalHit.h.
|
inline |
Definition at line 61 of file splitcalHit.h.
|
inline |
Definition at line 57 of file splitcalHit.h.
|
private |
Definition at line 90 of file splitcalHit.h.
|
private |
Definition at line 91 of file splitcalHit.h.
|
private |
Definition at line 91 of file splitcalHit.h.
|
private |
Definition at line 92 of file splitcalHit.h.
|
private |
Definition at line 92 of file splitcalHit.h.
|
private |
Definition at line 91 of file splitcalHit.h.
|
private |
Definition at line 91 of file splitcalHit.h.
|
private |
Definition at line 91 of file splitcalHit.h.
|
private |
Definition at line 91 of file splitcalHit.h.
|
private |
Definition at line 89 of file splitcalHit.h.
|
private |
Definition at line 89 of file splitcalHit.h.
|
private |
Definition at line 89 of file splitcalHit.h.
|
private |
Definition at line 89 of file splitcalHit.h.
|
private |
Definition at line 89 of file splitcalHit.h.
|
private |
Definition at line 89 of file splitcalHit.h.
|
private |
Definition at line 88 of file splitcalHit.h.