FairRoot/PandaRoot
PndDrcLutNode.cxx
Go to the documentation of this file.
1 // -----------------------------------------
2 // PndDrcLutNode.h
3 //
4 // Created on: 09.07.2013
5 // Author: R.Dzhygadlo at gsi.de
6 // -----------------------------------------
7 
8 #include "PndDrcLutNode.h"
9 
11 
12 // ----- Default constructor -------------------------------------------
14 TObject(), fDetectorId(0), fSize(0), fNodePos(TVector3()), fNodeArray(), fPathIdArray(), fPathArray(), fTimeArray()
15 {
16 }
17 
18 // ----- Standard constructors -----------------------------------------
20  TObject(), fDetectorId(nodeId), fSize(0), fNodePos(TVector3()), fNodeArray(), fPathIdArray(), fPathArray(), fTimeArray()
21 {
22 }
23 
24 void PndDrcLutNode::AddEntry(Int_t detectorId, TVector3 dir, Double_t path, Int_t pathid, Double_t time, TVector3 pos) {
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
ClassImp(PndDrcLutNode) PndDrcLutNode
void AddEntry(Int_t nodeId, TVector3 dir, Double_t path, Int_t pathid, Double_t time, TVector3 pos)
TVector3 fNodePos
Definition: PndDrcLutNode.h:49
std::vector< Int_t > fPathIdArray
Definition: PndDrcLutNode.h:52
Double_t
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