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 
7 
8  public:
11 
13  virtual ~PndTrkSttClusterFinder();
14 
15  Short_t FindTrackPattern(bool *InclusionListStt, // input; here it is the exclusion of Stt hits for Stt multiple hits
16  // OR because the hit was already used in another cluster;
17  Short_t *ListHitsinCluster, // output
18  Short_t (*ListParContiguous)[6], // input, this is the list of contiguous TubeID ;
19  Short_t MAXHITSINCLUSTER, // input;
20  Short_t *nParContiguous, // input; number of contiguous Stt axial straws to a given Stt axial straw;
21  Short_t number_straws, // input
22  Short_t SeedHit, // input
23  Short_t *SttStrawOn, // input; SttStrawOn[i] >= 0 --> it is the Stt hit
24  // number corresponding to Stt i-th Tube ID;
25  // SttStrawOn[i] == -1 --> i-th Stt straw NOT hit;
26  Short_t *TubeID // input
27 
28  );
29 
30  void GetClusters(bool *InclusionListStt, // input; this is the exclusion of Stt hits for Stt multiple hits
31  // OR because the hit was already used in another cluster;
32  Short_t ListParContiguous[][6], // input list (axial Stt); first dimension is NUMBER_STRAWS;
33  Short_t *ListSttParHits, // input
34  Short_t *nParContiguous, // input; number of contiguous straws (axial Stt);
35  // NUMBER_STRAWS even if the numbering scheme for the Stt straws goes
36  // from 1 to NUMBER_STRAWS included;
37  Short_t nSttParHit, // input;
38  const Short_t MAXFOUNDCLUSTERS, // input;
39  const Short_t MAXHITSINCLUSTER, // input;
40  const Short_t MAXSTTHITS, // input; number of maximux allowed total Stt hits;
41  const Short_t NUMBER_STRAWS, // input; number of Stt Straws in total;
42  Short_t *StrawCode, // input;
43  Short_t *StrawCode2, // input;
44  Short_t *SttStrawOn, // input;
45  TClonesArray *SttTubeArray, // input; array of the Stt tubes;
46  Short_t *TubeID, // input;
47 
48  Short_t *ListHitsinCluster, // output;
49  Short_t &nFoundClusters, // output;
50  Short_t *nHitsinCluster // output;
51  );
52 
54 };
55 
56 #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)
virtual ~PndTrkSttClusterFinder()
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)