EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/eic/tracking/EicTrackingDigiHit.h>
Public Member Functions | |
EicTrackingDigiHit () | |
EicTrackingDigiHit (TString cname, const EicMoCaPoint *point, unsigned kfNodeID, TVector3 &global, const TVector3 &local, bool xy_mode) | |
virtual | ~EicTrackingDigiHit () |
virtual void | Print (const Option_t *opt=0) const |
ULong64_t | GetMultiIndex () const |
TVector3 | GetLocalCoordinates () const |
unsigned | GetKfNodeID () const |
virtual double | _GetCoord (unsigned id) const =0 |
virtual unsigned | GetMdim () const =0 |
Public Member Functions inherited from FairHit | |
FairHit () | |
FairHit (Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t index) | |
FairHit (Int_t detID, TVector3 &pos, Int_t index) | |
virtual | ~FairHit () |
Double_t | GetDx () const |
Double_t | GetDy () const |
Double_t | GetDz () const |
Int_t | GetRefIndex () const |
void | PositionError (TVector3 &dpos) const |
Int_t | GetDetectorID () const |
Double_t | GetX () const |
Double_t | GetY () const |
Double_t | GetZ () const |
void | Position (TVector3 &pos) const |
void | SetDx (Double_t dx) |
void | SetDy (Double_t dy) |
void | SetDz (Double_t dz) |
void | SetDxyz (Double_t dx, Double_t dy, Double_t dz) |
void | SetPositionError (const TVector3 &dpos) |
void | SetRefIndex (Int_t index) |
void | SetDetectorID (Int_t detID) |
void | SetX (Double_t x) |
void | SetY (Double_t y) |
void | SetZ (Double_t z) |
void | SetXYZ (Double_t x, Double_t y, Double_t z) |
void | SetPosition (const TVector3 &pos) |
Public Member Functions inherited from FairTimeStamp | |
FairTimeStamp () | |
FairTimeStamp (Double_t time) | |
FairTimeStamp (Double_t time, Double_t timeerror) | |
virtual | ~FairTimeStamp () |
virtual Double_t | GetTimeStamp () const |
virtual Double_t | GetTimeStampError () const |
virtual FairLink | GetEntryNr () const |
virtual void | SetTimeStamp (Double_t t) |
virtual void | SetTimeStampError (Double_t t) |
virtual void | SetEntryNr (FairLink entry) |
virtual Int_t | Compare (const TObject *obj) const |
void | Print (std::ostream &out=std::cout) const |
virtual Bool_t | IsSortable () const |
virtual bool | equal (FairTimeStamp *data) |
Public Member Functions inherited from FairMultiLinkedData | |
FairMultiLinkedData () | |
Default constructor. | |
FairMultiLinkedData (std::set< FairLink > links, Bool_t persistanceCheck=kTRUE) | |
Constructor. | |
FairMultiLinkedData (TString dataType, std::vector< Int_t > links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0) | |
Constructor. | |
FairMultiLinkedData (Int_t dataType, std::vector< Int_t > links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0) | |
Constructor. | |
virtual | ~FairMultiLinkedData () |
virtual std::set< FairLink > | GetLinks () const |
returns stored links as FairLinks | |
virtual Int_t | GetNLinks () const |
returns the number of stored links | |
virtual FairLink | GetLink (Int_t pos) const |
returns the FairLink at the given position | |
virtual FairMultiLinkedData | GetLinksWithType (Int_t type) const |
Gives you a list of links which contain the given type. | |
TObject * | GetData (FairLink &myLink) |
Get the TObject the Link is pointing to. | |
virtual Int_t | GetDefaultType () |
Bool_t | GetPersistanceCheck () |
Returns the value of PersistanceCheck. | |
Int_t | GetVerbose () |
Returns the verbosity level. | |
virtual void | SetDefaultType (Int_t type) |
virtual void | SetPersistanceCheck (Bool_t check) |
Controls if a persistance check of a link is done or not. | |
virtual void | SetVerbose (Int_t level) |
Sets the verbosity level. | |
virtual void | SetLinks (FairMultiLinkedData links, Float_t mult=1.0) |
Sets the links as vector of FairLink. | |
virtual void | SetLink (FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0) |
Sets the Links with a single FairLink. | |
virtual void | AddLinks (FairMultiLinkedData links, Float_t mult=1.0) |
Adds a List of FairLinks (FairMultiLinkedData) to fLinks. | |
virtual void | AddLink (FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0) |
Adds a FairLink link at the end of fLinks. If multi is kTRUE a link is allowed more than once otherwise it is stored only once. | |
virtual void | InsertLink (FairLink link) |
Inserts a link into the list of links without persistance checking. | |
virtual void | AddAllWeights (Double_t weight) |
Adds weight to all Links. | |
virtual void | SetAllWeights (Double_t weight) |
Sets a common weight for Links. | |
virtual void | MultiplyAllWeights (Double_t weight) |
Multiplies all Links with weight. | |
virtual Bool_t | IsLinkInList (FairLink link) |
Test if a given link is in fLinks. | |
virtual Bool_t | IsLinkInList (Int_t type, Int_t index) |
Same as IsLinkInList(FairLink) just with type and index given separately. | |
virtual Int_t | LinkPosInList (FairLink link) |
returns position of link in fLinks. If it is not in the list -1 is returned | |
virtual Int_t | LinkPosInList (Int_t type, Int_t index) |
Same as LinkPosInList(FairLink) | |
virtual void | DeleteLink (FairLink link) |
Deletes a link ouf of fLinks. | |
virtual void | DeleteLink (Int_t type, Int_t index) |
Deletes a link ouf of fLinks. | |
virtual void | Reset () |
virtual void | ResetLinks () |
Clears fLinks. | |
void | Print (std::ostream &out=std::cout) const |
Output. | |
Protected Member Functions | |
virtual double | GetCovariance (unsigned ip, unsigned iq) const =0 |
Protected Member Functions inherited from FairHit | |
ClassDef (FairHit, 2) | |
Protected Member Functions inherited from FairTimeStamp | |
ClassDef (FairTimeStamp, 2) | |
indicates where the data is stored in the branch | |
Protected Member Functions inherited from FairMultiLinkedData | |
virtual void | SimpleAddLinks (Int_t fileId, Int_t evtId, Int_t dataType, std::vector< Int_t > links, Bool_t bypass, Float_t mult) |
ClassDef (FairMultiLinkedData, 3) | |
Protected Attributes | |
TVector3 | mLocalCoord |
bool | mXYmode |
UInt_t | mKfNodeID |
ULong64_t | mMultiIndex |
Protected Attributes inherited from FairHit | |
Double32_t | fDx |
Double32_t | fDy |
Double32_t | fDz |
Errors of position [cm]. | |
Int_t | fRefIndex |
Index of FairMCPoint for this hit. | |
Int_t | fDetectorID |
Detector unique identifier. | |
Double32_t | fX |
Double32_t | fY |
Double32_t | fZ |
Position of hit [cm]. | |
Protected Attributes inherited from FairTimeStamp | |
Double_t | fTimeStamp |
Double_t | fTimeStampError |
FairLink | fEntryNr |
Protected Attributes inherited from FairMultiLinkedData | |
std::set< FairLink > | fLinks |
Bool_t | fPersistanceCheck |
Int_t | fVerbose |
Int_t | fDefaultType |
Private Member Functions | |
void | ResetVars () |
ClassDef (EicTrackingDigiHit, 9) | |
Friends | |
class | EicTrackingRecoHit |
class | EicPlanarRecoHit |
class | EicSpaceRecoHit |
class | EicHtcTask |
class | SensitiveVolume |
class | EicKfNodeTemplate1D |
class | EicKfNodeTemplateOrth2D |
class | EicKfNodeTemplateOrth3D |
class | EicKfNodeTemplate |
Definition at line 21 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 21 of file EicTrackingDigiHit.h
|
inline |
Definition at line 35 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 35 of file EicTrackingDigiHit.h
References mXYmode, and ResetVars().
EicTrackingDigiHit::EicTrackingDigiHit | ( | TString | cname, |
const EicMoCaPoint * | point, | ||
unsigned | kfNodeID, | ||
TVector3 & | global, | ||
const TVector3 & | local, | ||
bool | xy_mode | ||
) |
Standard constructor
cname | Detector name |
odim | Detector measurement vector dimension |
volumePath | GEANT path to the sensitive volume (need to be done better) |
detID | Detector unique volume ID |
pointID | Index of corresponding MCPoint |
local | Hit position coordinates in local detector system [cm] |
global | Hit position coordinates in MARS system [cm] |
dpos | Errors in position coordinates [cm] |
Definition at line 15 of file EicTrackingDigiHit.cxx.
View newest version in sPHENIX GitHub at line 15 of file EicTrackingDigiHit.cxx
References EicMoCaPoint::GetMultiIndex(), EicMoCaPoint::GetPointID(), mKfNodeID, mMultiIndex, ResetVars(), and FairMultiLinkedData::SetLink().
|
inlinevirtual |
Definition at line 55 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 55 of file EicTrackingDigiHit.h
|
pure virtual |
Implemented in EicTrackingDigiHit3D, EicTrackingDigiHitOrth2D, and EicTrackingDigiHit1D.
Referenced by EicHtcTask::Exec(), EicKfNodeTemplateCylindrical2D::GetSmearingValue(), FwdHoughNodeGroup::PackFromTo(), and SensitiveVolume::TrackToHitDistance().
|
private |
|
protectedpure virtual |
Implemented in EicTrackingDigiHit3D, EicTrackingDigiHitOrth2D, and EicTrackingDigiHit1D.
Referenced by EicPlanarRecoHit::EicPlanarRecoHit(), EicSpaceRecoHit::EicSpaceRecoHit(), EicKfNodeTemplate1D::GetMeasurementNoise(), EicKfNodeTemplateOrth2D::GetMeasurementNoise(), and EicKfNodeTemplateOrth3D::GetMeasurementNoise().
|
inline |
Definition at line 65 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 65 of file EicTrackingDigiHit.h
References mKfNodeID.
Referenced by FwdTrackFinder::Exec(), EicHtcTask::Exec(), EicKfNodeTemplate::IncrementLinearTrackFitMatrices(), and SensitiveVolume::TrackToHitDistance().
|
inline |
Definition at line 62 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 62 of file EicTrackingDigiHit.h
References mLocalCoord.
Referenced by EicPlanarRecoHit::EicPlanarRecoHit(), and EicSpaceRecoHit::EicSpaceRecoHit().
|
pure virtual |
Implemented in EicTrackingDigiHit3D, EicTrackingDigiHitOrth2D, and EicTrackingDigiHit1D.
Referenced by EicPlanarRecoHit::EicPlanarRecoHit(), EicSpaceRecoHit::EicSpaceRecoHit(), and FwdHoughNodeGroup::PackFromTo().
|
inline |
Definition at line 59 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 59 of file EicTrackingDigiHit.h
References mMultiIndex.
Referenced by EicTrackingRecoHit::GetLookupTableNode(), and EicDetectorGroup::GetSensitiveVolume().
|
inlinevirtual |
Reimplemented from FairHit.
Definition at line 57 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 57 of file EicTrackingDigiHit.h
|
inlineprivate |
Definition at line 83 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 83 of file EicTrackingDigiHit.h
References _LOGICAL_INDEX_INVALID_, mKfNodeID, and mMultiIndex.
Referenced by EicTrackingDigiHit().
|
friend |
Definition at line 27 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 27 of file EicTrackingDigiHit.h
|
friend |
Definition at line 32 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 32 of file EicTrackingDigiHit.h
|
friend |
Definition at line 29 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 29 of file EicTrackingDigiHit.h
|
friend |
Definition at line 30 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 30 of file EicTrackingDigiHit.h
|
friend |
Definition at line 31 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 31 of file EicTrackingDigiHit.h
|
friend |
Definition at line 25 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 25 of file EicTrackingDigiHit.h
|
friend |
Definition at line 26 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 26 of file EicTrackingDigiHit.h
|
friend |
Definition at line 24 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 24 of file EicTrackingDigiHit.h
|
friend |
Definition at line 28 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 28 of file EicTrackingDigiHit.h
|
protected |
Definition at line 78 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 78 of file EicTrackingDigiHit.h
Referenced by EicTrackingDigiHit(), GetKfNodeID(), and ResetVars().
|
protected |
Definition at line 74 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 74 of file EicTrackingDigiHit.h
Referenced by EicTrackingDigiHit1D::_GetCoord(), EicTrackingDigiHitOrth2D::_GetCoord(), EicTrackingDigiHit3D::_GetCoord(), and GetLocalCoordinates().
|
protected |
Definition at line 80 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 80 of file EicTrackingDigiHit.h
Referenced by EicTrackingDigiHit(), EicHtcTask::Exec(), GetMultiIndex(), and ResetVars().
|
protected |
Definition at line 75 of file EicTrackingDigiHit.h.
View newest version in sPHENIX GitHub at line 75 of file EicTrackingDigiHit.h
Referenced by EicPlanarRecoHit::EicPlanarRecoHit(), and EicTrackingDigiHit().