FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
PndDrcLutNode Class Reference

#include <PndDrcLutNode.h>

Inheritance diagram for PndDrcLutNode:

Public Member Functions

 PndDrcLutNode ()
 
 PndDrcLutNode (Int_t detectorId)
 
 PndDrcLutNode (PndDrcLutNode &node)
 
void AddEntry (Int_t nodeId, TVector3 dir, Double_t path, Int_t pathid, Double_t time, TVector3 pos)
 
void SetPos (TVector3 pos)
 
Int_t Entries ()
 
Double_t GetDetectorId ()
 
TVector3 GetEntry (Int_t entry)
 
Int_t GetPathId (Int_t entry)
 
Double_t GetPath (Int_t entry)
 
Double_t GetTime (Int_t entry)
 
TVector3 GetPos ()
 

Protected Attributes

Int_t fDetectorId
 
Int_t fSize
 
TVector3 fNodePos
 
std::vector< TVector3 > fNodeArray
 
std::vector< Int_t > fPathIdArray
 
std::vector< Double_tfPathArray
 
std::vector< Double_tfTimeArray
 

Detailed Description

Definition at line 18 of file PndDrcLutNode.h.

Constructor & Destructor Documentation

PndDrcLutNode::PndDrcLutNode ( )

Definition at line 13 of file PndDrcLutNode.cxx.

13  :
14 TObject(), fDetectorId(0), fSize(0), fNodePos(TVector3()), fNodeArray(), fPathIdArray(), fPathArray(), fTimeArray()
15 {
16 }
TVector3 fNodePos
Definition: PndDrcLutNode.h:49
std::vector< Int_t > fPathIdArray
Definition: PndDrcLutNode.h:52
std::vector< TVector3 > fNodeArray
Definition: PndDrcLutNode.h:51
std::vector< Double_t > fTimeArray
Definition: PndDrcLutNode.h:54
std::vector< Double_t > fPathArray
Definition: PndDrcLutNode.h:53
PndDrcLutNode::PndDrcLutNode ( Int_t  detectorId)

Definition at line 19 of file PndDrcLutNode.cxx.

19  :
20  TObject(), fDetectorId(nodeId), fSize(0), fNodePos(TVector3()), fNodeArray(), fPathIdArray(), fPathArray(), fTimeArray()
21 {
22 }
TVector3 fNodePos
Definition: PndDrcLutNode.h:49
std::vector< Int_t > fPathIdArray
Definition: PndDrcLutNode.h:52
std::vector< TVector3 > fNodeArray
Definition: PndDrcLutNode.h:51
std::vector< Double_t > fTimeArray
Definition: PndDrcLutNode.h:54
std::vector< Double_t > fPathArray
Definition: PndDrcLutNode.h:53
PndDrcLutNode::PndDrcLutNode ( PndDrcLutNode node)
inline

Definition at line 29 of file PndDrcLutNode.h.

TVector3 fNodePos
Definition: PndDrcLutNode.h:49
std::vector< Int_t > fPathIdArray
Definition: PndDrcLutNode.h:52
std::vector< TVector3 > fNodeArray
Definition: PndDrcLutNode.h:51
std::vector< Double_t > fTimeArray
Definition: PndDrcLutNode.h:54
std::vector< Double_t > fPathArray
Definition: PndDrcLutNode.h:53

Member Function Documentation

void PndDrcLutNode::AddEntry ( Int_t  nodeId,
TVector3  dir,
Double_t  path,
Int_t  pathid,
Double_t  time,
TVector3  pos 
)

Definition at line 24 of file PndDrcLutNode.cxx.

References fDetectorId, fNodeArray, fNodePos, fPathArray, fPathIdArray, fSize, fTimeArray, and pos.

24  {
25  fDetectorId = detectorId;
26  fNodeArray.push_back(dir);
27  fPathArray.push_back(path);
28  fPathIdArray.push_back(pathid);
29  fTimeArray.push_back(time);
30  fNodePos = pos;
31  fSize++;
32 }
TVector3 pos
TVector3 fNodePos
Definition: PndDrcLutNode.h:49
std::vector< Int_t > fPathIdArray
Definition: PndDrcLutNode.h:52
std::vector< TVector3 > fNodeArray
Definition: PndDrcLutNode.h:51
std::vector< Double_t > fTimeArray
Definition: PndDrcLutNode.h:54
std::vector< Double_t > fPathArray
Definition: PndDrcLutNode.h:53
Int_t PndDrcLutNode::Entries ( )
inline

Definition at line 36 of file PndDrcLutNode.h.

References fSize.

Referenced by adddirs(), PndDrcLutReco::FillAmbiguities(), PndDrcReco::LookUpTable(), and lutmean().

36 { return fSize; }
Double_t PndDrcLutNode::GetDetectorId ( )
inline

Definition at line 37 of file PndDrcLutNode.h.

References fDetectorId.

Referenced by adddirs(), and lutmean().

37 { return fDetectorId; }
TVector3 PndDrcLutNode::GetEntry ( Int_t  entry)
inline

Definition at line 39 of file PndDrcLutNode.h.

References fNodeArray.

Referenced by adddirs(), PndDrcLutReco::FillAmbiguities(), PndDrcReco::LookUpTable(), and lutmean().

39 { return fNodeArray[entry]; }
std::vector< TVector3 > fNodeArray
Definition: PndDrcLutNode.h:51
Double_t PndDrcLutNode::GetPath ( Int_t  entry)
inline

Definition at line 41 of file PndDrcLutNode.h.

References fPathArray.

Referenced by adddirs(), PndDrcReco::LookUpTable(), and lutmean().

41 { return fPathArray[entry]; }
std::vector< Double_t > fPathArray
Definition: PndDrcLutNode.h:53
Int_t PndDrcLutNode::GetPathId ( Int_t  entry)
inline

Definition at line 40 of file PndDrcLutNode.h.

References fPathIdArray.

Referenced by adddirs(), and PndDrcReco::LookUpTable().

40 { return fPathIdArray[entry]; }
std::vector< Int_t > fPathIdArray
Definition: PndDrcLutNode.h:52
TVector3 PndDrcLutNode::GetPos ( )
inline

Definition at line 43 of file PndDrcLutNode.h.

References fNodePos.

Referenced by adddirs(), and lutmean().

43 { return fNodePos; }
TVector3 fNodePos
Definition: PndDrcLutNode.h:49
Double_t PndDrcLutNode::GetTime ( Int_t  entry)
inline

Definition at line 42 of file PndDrcLutNode.h.

References fTimeArray.

Referenced by adddirs(), PndDrcLutReco::FillAmbiguities(), PndDrcReco::LookUpTable(), and lutmean().

42 { return fTimeArray[entry]; }
std::vector< Double_t > fTimeArray
Definition: PndDrcLutNode.h:54
void PndDrcLutNode::SetPos ( TVector3  pos)
inline

Definition at line 33 of file PndDrcLutNode.h.

References fNodePos, and pos.

33 {fNodePos = pos;}
TVector3 pos
TVector3 fNodePos
Definition: PndDrcLutNode.h:49

Member Data Documentation

Int_t PndDrcLutNode::fDetectorId
protected

Definition at line 47 of file PndDrcLutNode.h.

Referenced by AddEntry(), and GetDetectorId().

std::vector<TVector3> PndDrcLutNode::fNodeArray
protected

Definition at line 51 of file PndDrcLutNode.h.

Referenced by AddEntry(), and GetEntry().

TVector3 PndDrcLutNode::fNodePos
protected

Definition at line 49 of file PndDrcLutNode.h.

Referenced by AddEntry(), GetPos(), and SetPos().

std::vector<Double_t> PndDrcLutNode::fPathArray
protected

Definition at line 53 of file PndDrcLutNode.h.

Referenced by AddEntry(), and GetPath().

std::vector<Int_t> PndDrcLutNode::fPathIdArray
protected

Definition at line 52 of file PndDrcLutNode.h.

Referenced by AddEntry(), and GetPathId().

Int_t PndDrcLutNode::fSize
protected

Definition at line 48 of file PndDrcLutNode.h.

Referenced by AddEntry(), and Entries().

std::vector<Double_t> PndDrcLutNode::fTimeArray
protected

Definition at line 54 of file PndDrcLutNode.h.

Referenced by AddEntry(), and GetTime().


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