/[PAMELA software]/DarthVader/TrackerLevel2/inc/TrkHough.h
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/TrkHough.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Fri Nov 10 11:38:43 2006 UTC revision 1.4 by pam-fi, Wed Oct 22 15:17:32 2008 UTC
# Line 8  Line 8 
8  #include <TObject.h>  #include <TObject.h>
9    
10  #include <TrkStruct.h>  #include <TrkStruct.h>
11    #include <TrkLevel2.h>
12  /**  /**
13   * \brief Class to describe Hough variables.   * \brief Class to describe Hough variables.
14   */   */
# Line 18  class TrkHough : public TObject { Line 19  class TrkHough : public TObject {
19    
20   public:   public:
21        
22    Int_t ndblt; ///< number of doublets  
23    Float_t *alfayz1; //[ndblt]      TClonesArray *Candidates;        ///< track candidates
24    Float_t *alfayz2; //[ndblt]  
25    Int_t *db_cloud;  //[ndblt]  
26        Int_t ndblt; ///< number of doublets
27    Int_t ntrpt; ///< number of triplets      Float_t *alfayz1; //[ndblt]
28    Float_t *alfaxz1; //[ntrpt]      Float_t *alfayz2; //[ndblt]
29    Float_t *alfaxz2; //[ntrpt]      Int_t *db_cloud;  //[ndblt]
30    Float_t *alfaxz3; //[ntrpt]  
31    Int_t *tr_cloud;  //[ntrpt]      Int_t ntrpt; ///< number of triplets
32        Float_t *alfaxz1; //[ntrpt]
33    Int_t nclouds_yz; ///< number of yz clouds      Float_t *alfaxz2; //[ntrpt]
34    Float_t *alfayz1_av; //[nclouds_yz]      Float_t *alfaxz3; //[ntrpt]
35    Float_t *alfayz2_av; //[nclouds_yz]      Int_t *tr_cloud;  //[ntrpt]
36    Int_t *ptcloud_yz;  //[nclouds_yz]  
37        Int_t nclouds_yz; ///< number of yz clouds
38    Int_t nclouds_xz; ///< number of xz clouds      Float_t *alfayz1_av; //[nclouds_yz]
39    Float_t *alfaxz1_av; //[nclouds_xz]      Float_t *alfayz2_av; //[nclouds_yz]
40    Float_t *alfaxz2_av; //[nclouds_xz]      Int_t *ptcloud_yz;  //[nclouds_yz]
41    Float_t *alfaxz3_av; //[nclouds_xz]  
42    Int_t *ptcloud_xz;  //[nclouds_xz]      Int_t nclouds_xz; ///< number of xz clouds
43        Float_t *alfaxz1_av; //[nclouds_xz]
44    Int_t nclstr;      Float_t *alfaxz2_av; //[nclouds_xz]
45    Float_t totaltime;      Float_t *alfaxz3_av; //[nclouds_xz]
46    Float_t houghtime;      Int_t *ptcloud_xz;  //[nclouds_xz]
47    Float_t fittime;  
48        Int_t nclstr;
49    TrkHough();      Float_t totaltime;
50    ~TrkHough();      Float_t houghtime;
51        Float_t fittime;
52    void SetFromHoughStruct(cTrkHough *);  
53    void Clear();  /*   Int_t ntracks; ///< n. track-candidates */
54    void Delete();  /*   Float_t *al0; //[ntracks] */
55    /*   Float_t *al1; //[ntracks] */
56    /*   Float_t *al2; //[ntracks] */
57    /*   Float_t *al3; //[ntracks] */
58    /*   Float_t *al4; //[ntracks] */
59      
60        TrkHough();
61        ~TrkHough(){ Delete(); };
62    
63        void SetFromHoughStruct(cTrkHough*,cTrkCandidates*);
64        void SetFromHoughStruct(cTrkHough *lh){ SetFromHoughStruct(lh,NULL); };
65        void SetFromHoughStruct(){SetFromHoughStruct(&houghevent_,&trackcandidates_); };
66        void Clear();
67        void Clear(Option_t *option){Clear();};
68        void Delete();
69        void Set();
70        
71        TClonesArray* GetCandidateArray(){return Candidates;};///< returns pointer to the track array
72        TrkTrack*     GetCandidate(int i);
73    
74        Int_t GetNCandidates(){return Candidates->GetEntries();}    ///< number of candidates;
75    
76    ClassDef(TrkHough,2);      TrkHough* GetTrkHough(){return this;}
77    
78      
79        ClassDef(TrkHough,2);
80    
81  };  };
82    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23