AMSDST
myObject.h
Go to the documentation of this file.
1 // Authors: M.Duranti - INFN di Perugia
2 #ifndef myObject_h
3 #define myObject_h
4 
5 #include "TObject.h"
6 #include "TClass.h"
7 #include "debug.h"
8 
9 class myObject: public TObject
10 {
11 
12  public:
14  myObject();
16  ~myObject();
17 
18  Short_t i_part;
19  Short_t i_myself;
20 
21  inline short int iPart() {return i_part;};
22  inline short int iMySelf() {return i_myself;};
23 
24  inline void SetPart(short int ipart) {
25  i_part=ipart;
26 #ifdef PDEBUG
27  printf("myObject::SetPart) Set i_part to %d\n", i_part);
28 #endif
29  }
30  inline void SetMySelf(short int imyself) {
31  i_myself=imyself;
32 #ifdef PDEBUG
33  printf("myObject::SetMySelf) Set i_myself to %d\n", i_myself);
34 #endif
35  }
36  public:
37  //virtual void Clear(Option_t*=""){}
38  ClassDef(myObject,4);
39 };
40 
41 #ifdef _WITHGBATCH_
42 #include "gbatch.h"
43 #endif
44 
45 #endif