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

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

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

revision 1.1.1.1 by mocchiut, Fri May 19 13:15:51 2006 UTC revision 1.2 by pam-fi, Fri Feb 16 14:56:00 2007 UTC
# Line 7  Line 7 
7    
8  #include <TObject.h>  #include <TObject.h>
9  #include <physics/tracker/TrackerEvent.h>  #include <physics/tracker/TrackerEvent.h>
10  #include <TrkStruct.h>  #include <TrkParams.h>
11    //#include <TrkStruct.h>
12    
13  using namespace pamela::tracker;  using namespace pamela::tracker;
14    
15  /**  /**
16   * \brief Class to describe tracker LEVEL0 data.   * \brief Class to describe tracker LEVEL0 data.
17   *   *
  * It inherits from YODA TrackerEvent class and add some methods.  
18   */   */
19    
20  class TrkLevel0 : public TrackerEvent{  //class TrkLevel0 : public TrackerEvent{
21    class TrkLevel0 : public TObject{
22    
23   private:   private:
24    
25   public:      TrackerEvent* yodaobj;
26    
27      void GetCommonVar(cTrkLevel0 *);   public:
28    
29        TrkLevel0(){ yodaobj = 0; };
30        ~TrkLevel0(){ if(yodaobj)delete yodaobj; };
31        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  };  };
47    
48  #endif  #endif

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

  ViewVC Help
Powered by ViewVC 1.1.23