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

Annotation of /DarthVader/TrackerLevel2/inc/TrkLevel0.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri Apr 27 10:39:57 2007 UTC (17 years, 7 months ago) by pam-fi
Branch: MAIN
CVS Tags: v5r00, v4r00, v3r04, v3r05, v3r06, v3r03
Changes since 1.2: +1 -1 lines
File MIME type: text/plain
v3r00: new hough parameters, new variables, and other things...

1 mocchiut 1.1 /**
2     * \file TrkLevel0.h
3     * \author Elena Vannuccini
4     */
5     #ifndef trklevel0_h
6     #define trklevel0_h
7    
8     #include <TObject.h>
9     #include <physics/tracker/TrackerEvent.h>
10 pam-fi 1.2 #include <TrkParams.h>
11     //#include <TrkStruct.h>
12 mocchiut 1.1
13     using namespace pamela::tracker;
14    
15     /**
16     * \brief Class to describe tracker LEVEL0 data.
17     *
18     */
19    
20 pam-fi 1.2 //class TrkLevel0 : public TrackerEvent{
21     class TrkLevel0 : public TObject{
22 mocchiut 1.1
23     private:
24    
25 pam-fi 1.2 TrackerEvent* yodaobj;
26    
27 mocchiut 1.1 public:
28    
29 pam-fi 1.2 TrkLevel0(){ yodaobj = 0; };
30 pam-fi 1.3 ~TrkLevel0(){ if(yodaobj) delete yodaobj; };
31 pam-fi 1.2 void Set(){ yodaobj = new TrackerEvent(); };
32    
33     // void GetCommonVar(cTrkLevel0 *);
34     void GetLevel0Struct(cTrkLevel0 *);
35     void SetFromLevel0Struct(cTrkLevel0 *);
36     void GetLevel0Struct(){ GetLevel0Struct(&level0event_); };
37     void SetFromLevel0Struct(){ SetFromLevel0Struct(&level0event_); };
38    
39     // cTrkLevel0* GetLevel0Struct(){ GetCommonVar(&level0event_); };
40     void* GetPointerToTrackerEvent(){ return &yodaobj; };
41     TrackerEvent* GetTrackerEvent(){ return yodaobj; }
42     int ProcessEvent();
43    
44     ClassDef(TrkLevel0,1);
45    
46 mocchiut 1.1 };
47    
48     #endif

  ViewVC Help
Powered by ViewVC 1.1.23