PandaRoot
PndTrkSttAdjacencies.h
Go to the documentation of this file.
1 #ifndef PndTrkSttAdjacencies_H
2 #define PndTrkSttAdjacencies_H 1
3 
4 #include "TClonesArray.h"
5 
7 
8  public:
11 
13  virtual ~PndTrkSttAdjacencies();
14 
16  // in this geametry there are 4542 Stt Straws (axial and skew);
17  const Short_t NUMBER_STRAWS, // number of Stt Straws in total;
18  TClonesArray *SttTubeArray, // input; array of the Stt tubes;
19  Short_t *nParContiguous, // output; number of contiguous straws (axial Stt);
20  // NUMBER_STRAWS+1 because the numbering scheme for the Stt straws goes
21  // from 1 to NUMBER_STRAWS included;
22  Short_t ListParContiguous[][6] // output list (axial Stt);
23  );
24 
26  // in this geametry there are 4542 Stt Straws (axial and skew);
27  const Short_t NUMBER_STRAWS, // number of Stt Straws in total;
28  TClonesArray *SttTubeArray, // input; array of the Stt tubes;
29  Short_t *nParContiguous, // output; number of contiguous straws (axial Stt);
30  // NUMBER_STRAWS+1 because the numbering scheme for the Stt straws goes
31  // from 1 to NUMBER_STRAWS included;
32  Short_t ListParContiguous[][6], // output list (axial Stt);
33  Double_t *x, // X position center of tube;
34  Double_t *y, // Y position center of tube;
35  Double_t *z, // Z position center of tube;
36  Double_t *rxy2 // X*X+Y*Y position center of tube;
37  );
38 
40 };
41 
42 #endif
virtual ~PndTrkSttAdjacencies()
ClassDef(PndTrkSttAdjacencies, 1)
void CalculateAdjacentStt(const Short_t NUMBER_STRAWS, TClonesArray *SttTubeArray, Short_t *nParContiguous, Short_t ListParContiguous[][6])
void CalculateAdjacentStt2(const Short_t NUMBER_STRAWS, TClonesArray *SttTubeArray, Short_t *nParContiguous, Short_t ListParContiguous[][6], Double_t *x, Double_t *y, Double_t *z, Double_t *rxy2)