FairRoot/PandaRoot
PndTrkSttClusterFinder.h
Go to the documentation of this file.
1 #ifndef PndTrkSttClusterFinder_H
2 #define PndTrkSttClusterFinder_H 1
3 
4 #include "TClonesArray.h"
5 
6 
8 {
9 
10  public:
11 
14 
16  virtual ~PndTrkSttClusterFinder();
17 
18 Short_t FindTrackPattern(
19  bool* InclusionListStt, // input; here it is the exclusion of Stt hits for Stt multiple hits
20  // OR because the hit was already used in another cluster;
21  Short_t *ListHitsinCluster, // output
22  Short_t (*ListParContiguous)[6],// input, this is the list of contiguous TubeID ;
23  Short_t MAXHITSINCLUSTER, // input;
24  Short_t * nParContiguous, // input; number of contiguous Stt axial straws to a given Stt axial straw;
25  Short_t number_straws, // input
26  Short_t SeedHit, // input
27  Short_t *SttStrawOn, // input; SttStrawOn[i] >= 0 --> it is the Stt hit
28  // number corresponding to Stt i-th Tube ID;
29  // SttStrawOn[i] == -1 --> i-th Stt straw NOT hit;
30  Short_t *TubeID // input
31 
32  );
33 
34 
35  void GetClusters(
36  bool* InclusionListStt, // input; this is the exclusion of Stt hits for Stt multiple hits
37  // OR because the hit was already used in another cluster;
38  Short_t ListParContiguous[][6], // input list (axial Stt); first dimension is NUMBER_STRAWS;
39  Short_t * ListSttParHits, // input
40  Short_t *nParContiguous, // input; number of contiguous straws (axial Stt);
41  // NUMBER_STRAWS even if the numbering scheme for the Stt straws goes
42  // from 1 to NUMBER_STRAWS included;
43  Short_t nSttParHit, // input;
44  const Short_t MAXFOUNDCLUSTERS, // input;
45  const Short_t MAXHITSINCLUSTER, // input;
46  const Short_t MAXSTTHITS, // input; number of maximux allowed total Stt hits;
47  const Short_t NUMBER_STRAWS, // input; number of Stt Straws in total;
48  Short_t * StrawCode, // input;
49  Short_t * StrawCode2, // input;
50  Short_t *SttStrawOn, // input;
51  TClonesArray *SttTubeArray, // input; array of the Stt tubes;
52  Short_t * TubeID, // input;
53 
54  Short_t * ListHitsinCluster, // output;
55  Short_t & nFoundClusters, // output;
56  Short_t * nHitsinCluster // output;
57  );
58 
60 
61 };
62 
63 #endif
void GetClusters(bool *InclusionListStt, Short_t ListParContiguous[][6], Short_t *ListSttParHits, Short_t *nParContiguous, Short_t nSttParHit, const Short_t MAXFOUNDCLUSTERS, const Short_t MAXHITSINCLUSTER, const Short_t MAXSTTHITS, const Short_t NUMBER_STRAWS, Short_t *StrawCode, Short_t *StrawCode2, Short_t *SttStrawOn, TClonesArray *SttTubeArray, Short_t *TubeID, Short_t *ListHitsinCluster, Short_t &nFoundClusters, Short_t *nHitsinCluster)
ClassDef(PndTrkSttClusterFinder, 1)
const int MAXFOUNDCLUSTERS
const int MAXHITSINCLUSTER
Short_t FindTrackPattern(bool *InclusionListStt, Short_t *ListHitsinCluster, Short_t(*ListParContiguous)[6], Short_t MAXHITSINCLUSTER, Short_t *nParContiguous, Short_t number_straws, Short_t SeedHit, Short_t *SttStrawOn, Short_t *TubeID)