PandaRoot
PndTrkSttAdjacencies.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PndTrkSttAdjacencies_H
14 #define PndTrkSttAdjacencies_H 1
15 
16 #include "TClonesArray.h"
17 
19 
20  public:
23 
25  virtual ~PndTrkSttAdjacencies();
26 
28  // in this geametry there are 4542 Stt Straws (axial and skew);
29  const Short_t NUMBER_STRAWS, // number of Stt Straws in total;
30  TClonesArray *SttTubeArray, // input; array of the Stt tubes;
31  Short_t *nParContiguous, // output; number of contiguous straws (axial Stt);
32  // NUMBER_STRAWS+1 because the numbering scheme for the Stt straws goes
33  // from 1 to NUMBER_STRAWS included;
34  Short_t ListParContiguous[][6] // output list (axial Stt);
35  );
36 
38  // in this geametry there are 4542 Stt Straws (axial and skew);
39  const Short_t NUMBER_STRAWS, // number of Stt Straws in total;
40  TClonesArray *SttTubeArray, // input; array of the Stt tubes;
41  Short_t *nParContiguous, // output; number of contiguous straws (axial Stt);
42  // NUMBER_STRAWS+1 because the numbering scheme for the Stt straws goes
43  // from 1 to NUMBER_STRAWS included;
44  Short_t ListParContiguous[][6], // output list (axial Stt);
45  Double_t *x, // X position center of tube;
46  Double_t *y, // Y position center of tube;
47  Double_t *z, // Z position center of tube;
48  Double_t *rxy2 // X*X+Y*Y position center of tube;
49  );
50 
52 };
53 
54 #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)