]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliEvent.h
QA ref defaut storage setter in sim and rec
[u/mrichter/AliRoot.git] / RALICE / AliEvent.h
index dbf91caf6a9fb933a426b27f4af325ec076842ea..19ff1fa5059a795fe8be01502ce83291f5226d35 100644 (file)
@@ -49,12 +49,16 @@ class AliEvent : public AliVertex,public AliTimestamp
   Int_t GetDevCopy() const;               // Provide DevCopy flag value      
   void AddDevice(TObject& d);             // Add a device to the event
   void AddDevice(TObject* d) { if (d) AddDevice(*d); }
+  void RemoveDevice(TObject* d);          // Remove the specified device from the event
   Int_t GetNdevices() const;              // Provide the number of devices
+  Int_t GetNdevices(const char* classname) const; // Provide the number of selected devices
   void ShowDevices(Int_t mode=1) const;   // Provide on overview of the available devices
+  void ShowDevices(const char* classname,Int_t mode=1) const; // Overview of selected devices
   TObjArray* GetDevices(const char* classname); // Provide references to the devices derived from the specified class
   TObject* GetDevice(Int_t i) const;      // Provide i-th device of the event
   TObject* GetDevice(TString name) const; // Provide the device with name "name"
-  TObject* GetIdDevice(Int_t id) const;   // Provide the device with unique identifier "id"
+  TObject* GetIdDevice(Int_t id, TObjArray* devs=0) const; // Get device with identifier "id"
+  TObject* GetIdDevice(Int_t id, const char* classname) const; // Get device with identifier "id" of specified class
   Int_t GetNhits(const char* classname);  // Provide number of hits for the specified device class
   TObjArray* GetHits(const char* classname); // Provide refs to all hits of the specified device class 
   AliSignal* GetIdHit(Int_t id,const char* classname); // Provide hit with unique "id" for the specified device class
@@ -72,14 +76,6 @@ class AliEvent : public AliVertex,public AliTimestamp
  protected:
   Int_t fRun;                           // The run number
   Int_t fEvent;                         // The event number
-  Int_t fAproj;                         // The projectile A value
-  Int_t fZproj;                         // The projectile Z value
-  Double_t fPnucProj;                   // The projectile momentum per nucleon
-  Int_t fIdProj;                        // User defined projectile particle ID
-  Int_t fAtarg;                         // The target A value
-  Int_t fZtarg;                         // The target Z value
-  Double_t fPnucTarg;                   // The target momentum per nucleon
-  Int_t fIdTarg;                        // User defined target particle ID
   TObjArray* fDevices;                  // Array to hold the pointers to the various devices
   Int_t fDevCopy;                       // Flag to denote creation of private copies of the devices
   void LoadHits(const char* classname); // Load references to the hits registered to the specified device class
@@ -88,6 +84,6 @@ class AliEvent : public AliVertex,public AliTimestamp
   TObject* fDisplay;                    //! Temp. pointer to hold objects which serve event displays
   TObjArray* fDevs;                     //! Temp. array to hold references to user selected devices
 
- ClassDef(AliEvent,22) // Creation and investigation of an Alice physics event.
+ ClassDef(AliEvent,25) // Creation and investigation of an Alice physics event.
 };
 #endif