AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVTriggerStore.h
Go to the documentation of this file.
1 #ifndef ALIMUONVTRIGGERSTORE_H
2 #define ALIMUONVTRIGGERSTORE_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche, Subatech
14 
15 #ifndef ALIMUONVSTORE_H
16 # include "AliMUONVStore.h"
17 #endif
18 
22 
24 {
25 public:
27  virtual ~AliMUONVTriggerStore();
28 
30  virtual Bool_t Add(TObject* object);
31 
33  virtual void Add(const AliMUONLocalTrigger& localTrigger) = 0;
35  virtual void SetGlobal(const AliMUONGlobalTrigger& globalTrigger) = 0;
37  virtual void Add(const AliMUONRegionalTrigger& regionalTrigger) = 0;
38 
40 
42  static AliMUONVTriggerStore* Create(TTree& tree);
43 
45  virtual TIterator* CreateIterator() const;
46 
48  virtual TIterator* CreateLocalIterator() const = 0;
50  virtual TIterator* CreateRegionalIterator() const = 0;
51 
53  virtual AliMUONGlobalTrigger* Global() const = 0;
54 
56  virtual AliMUONLocalTrigger* FindLocal(Int_t boardNumber) const = 0;
57 
59  virtual AliMUONRegionalTrigger* FindRegional(Int_t boardNumber) const = 0;
60 
62 
63  virtual void Print(Option_t* wildcard="") const { return Print(wildcard,""); }
64 
65  ClassDef(AliMUONVTriggerStore,1) // Base class of a trigger store
66 };
67 
68 #endif
virtual TIterator * CreateRegionalIterator() const =0
Create iterator on regional trigger.
virtual TIterator * CreateLocalIterator() const =0
Create iterator on local trigger.
virtual void Print(Option_t *wildcard="") const
Print all objects whose name matches wildcard.
virtual void SetGlobal(const AliMUONGlobalTrigger &globalTrigger)=0
Set global trigger.
TTree * tree
Base class of a trigger information store.
virtual TIterator * CreateIterator() const
Create iterator (on local card)
Reconstructed regional Trigger object.
Reconstructed Local Trigger object.
virtual AliMUONVStore * Create() const =0
Create an empty copy of this.
virtual AliMUONRegionalTrigger * FindRegional(Int_t boardNumber) const =0
Find a regional trigger by the board number (not an index, it is a number really) ...
virtual AliMUONGlobalTrigger * Global() const =0
Return global trigger.
Global trigger object.
virtual void Print(Option_t *wildcard="") const
Print all objects whose name matches wildcard.
virtual Bool_t Add(TObject *object)
Add an object, if of the right type.
Base class for MUON data stores.
Definition: AliMUONVStore.h:22
virtual AliMUONLocalTrigger * FindLocal(Int_t boardNumber) const =0
Find a local trigger by the board number (not an index, it is a number really)