HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hrpcclusterf.h
Go to the documentation of this file.
1 #ifndef HRPCCLUSTERF_H
2 #define HRPCCLUSTERF_H
3 
4 #include "hreconstructor.h"
5 #include "hlocation.h"
6 
7 class HCategory;
8 class HRpcGeomCellPar;
9 class HRpcClusFPar;
10 class HRpcClusterSim;
11 
12 class HRpcClusterF : public HReconstructor {
13 
14 protected:
15  HCategory *pHitCat; // pointer to the hit data
16  HCategory *pClusterCat; // pointer to the cluster data
17  HCategory *pGeantRpcCat; // pointer to the GeantRpc data
18  HLocation loc; // location for hit
19  HLocation loc_cluster; // location for cluster
20  HRpcGeomCellPar* pGeomCellPar; // rpc cell geometry parameters
21  HRpcClusFPar* pClusFPar; // cluster finder parameters
22 
23  Int_t maxcells; // Maximum number of cells
24 
25  Bool_t simulation; // Flag to decide whether simulation(1) or analisis(0)
26  Bool_t doSingleCluster; // kTRUE : fill clusters as copy from hits (default kFALSE)
27  Int_t howManyTracks (HRpcClusterSim* clus);
29 
30 public:
31  HRpcClusterF();
32  HRpcClusterF(const Text_t* name,const Text_t* title);
33  ~HRpcClusterF();
34  void setDoSingleClusters(Bool_t single=kFALSE) { doSingleCluster = single ;}
35  void initParContainer();
36  Bool_t init();
37  Bool_t finalize() { return kTRUE; }
38  Int_t execute();
39 
40  ClassDef(HRpcClusterF,0) // Cluster Finder hit->cluster for RPC data
41 };
42 
43 #endif /* !HRPCCLUSTERF_H */
44 
HCategory * pClusterCat
Definition: hrpcclusterf.h:16
Int_t execute()
HCategory * pHitCat
Definition: hrpcclusterf.h:15
HLocation loc_cluster
Definition: hrpcclusterf.h:19
Bool_t finalize()
Definition: hrpcclusterf.h:37
Int_t howManyTracks(HRpcClusterSim *clus)
Int_t maxcells
Definition: hrpcclusterf.h:23
HRpcGeomCellPar * pGeomCellPar
Definition: hrpcclusterf.h:20
void setDoSingleClusters(Bool_t single=kFALSE)
Definition: hrpcclusterf.h:34
HLocation loc
Definition: hrpcclusterf.h:18
Bool_t doSingleCluster
Definition: hrpcclusterf.h:26
Int_t howManyTracksAtCells(HRpcClusterSim *clus)
HRpcClusFPar * pClusFPar
Definition: hrpcclusterf.h:21
void initParContainer()
Definition: hrpcclusterf.cc:41
Bool_t init()
Definition: hrpcclusterf.cc:69
HCategory * pGeantRpcCat
Definition: hrpcclusterf.h:17
Bool_t simulation
Definition: hrpcclusterf.h:25