/[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.2 by pam-fi, Fri Nov 24 16:43:43 2006 UTC revision 1.3 by pam-fi, Wed Nov 7 10:38:51 2007 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      Int_t ndblt; ///< number of doublets
23    Float_t *alfayz1; //[ndblt]      Float_t *alfayz1; //[ndblt]
24    Float_t *alfayz2; //[ndblt]      Float_t *alfayz2; //[ndblt]
25    Int_t *db_cloud;  //[ndblt]      Int_t *db_cloud;  //[ndblt]
26    
27    Int_t ntrpt; ///< number of triplets      Int_t ntrpt; ///< number of triplets
28    Float_t *alfaxz1; //[ntrpt]      Float_t *alfaxz1; //[ntrpt]
29    Float_t *alfaxz2; //[ntrpt]      Float_t *alfaxz2; //[ntrpt]
30    Float_t *alfaxz3; //[ntrpt]      Float_t *alfaxz3; //[ntrpt]
31    Int_t *tr_cloud;  //[ntrpt]      Int_t *tr_cloud;  //[ntrpt]
32    
33    Int_t nclouds_yz; ///< number of yz clouds      Int_t nclouds_yz; ///< number of yz clouds
34    Float_t *alfayz1_av; //[nclouds_yz]      Float_t *alfayz1_av; //[nclouds_yz]
35    Float_t *alfayz2_av; //[nclouds_yz]      Float_t *alfayz2_av; //[nclouds_yz]
36    Int_t *ptcloud_yz;  //[nclouds_yz]      Int_t *ptcloud_yz;  //[nclouds_yz]
37    
38    Int_t nclouds_xz; ///< number of xz clouds      Int_t nclouds_xz; ///< number of xz clouds
39    Float_t *alfaxz1_av; //[nclouds_xz]      Float_t *alfaxz1_av; //[nclouds_xz]
40    Float_t *alfaxz2_av; //[nclouds_xz]      Float_t *alfaxz2_av; //[nclouds_xz]
41    Float_t *alfaxz3_av; //[nclouds_xz]      Float_t *alfaxz3_av; //[nclouds_xz]
42    Int_t *ptcloud_xz;  //[nclouds_xz]      Int_t *ptcloud_xz;  //[nclouds_xz]
43    
44    Int_t nclstr;      Int_t nclstr;
45    Float_t totaltime;      Float_t totaltime;
46    Float_t houghtime;      Float_t houghtime;
47    Float_t fittime;      Float_t fittime;
48    
49    TrkHough();  /*   Int_t ntracks; ///< n. track-candidates */
50    ~TrkHough();  /*   Float_t *al0; //[ntracks] */
51    /*   Float_t *al1; //[ntracks] */
52    void SetFromHoughStruct(cTrkHough *);  /*   Float_t *al2; //[ntracks] */
53    void Clear();  /*   Float_t *al3; //[ntracks] */
54    void Delete();  /*   Float_t *al4; //[ntracks] */
55    
56        TClonesArray *Candidates;        ///< track candidates
57      
58    
59    
60        TrkHough();
61    
62        void SetFromHoughStruct(cTrkHough*,cTrkCandidates*);
63        void SetFromHoughStruct(cTrkHough *lh){ SetFromHoughStruct(lh,NULL); };
64        void SetFromHoughStruct(){SetFromHoughStruct(&houghevent_,&trackcandidates_); };
65        void Clear();
66        void Delete();
67        
68    TrkHough*    GetTrkHough(){return this;}      TClonesArray* GetCandidateArray(){return Candidates;};///< returns pointer to the track array
69        TrkTrack*     GetCandidate(int i);
70    
71        Int_t GetNCandidates(){return Candidates->GetEntries();}    ///< number of candidates;
72    
73        TrkHough* GetTrkHough(){return this;}
74    
75        ~TrkHough(){ Delete(); };
76        
77    ClassDef(TrkHough,2);      ClassDef(TrkHough,2);
78    
79  };  };
80    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23