]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliCentralTrigger.h
Major commit related to steering of the reco parameters: AliDAQ and trigger classes...
[u/mrichter/AliRoot.git] / STEER / AliCentralTrigger.h
index 351d69d00fa2b0e9012c314b04d2ce04bb2e811c..bd08f573eebc71c1bb345711fdd365ad9d7cb126 100644 (file)
@@ -45,14 +45,19 @@ public:
   //  Getters
                TString    GetDetectors();
              ULong64_t    GetClassMask() const { return fClassMask; }
-              UChar_t    GetClusterMask() const { return fClusterMask; }
+               UInt_t    GetClusterMask() const { return fClusterMask; }
  AliTriggerConfiguration* GetConfiguration() { return fConfiguration; }
              TObjArray*   GetFiredClasses() const;
                   void    Print( const Option_t* opt ="" ) const;
-              TString    GetTriggeredDetectors() const;
+               Bool_t    CheckTriggeredDetectors() const;
+
+              // Setters to be used in case raw data when the trigger information
+              // is read from the event header
+              void       SetClassMask(ULong64_t mask) { fClassMask = mask; }
+              void       SetClusterMask(UInt_t mask)  { fClusterMask = mask; }
 protected:
              ULong64_t    fClassMask;          // UID ( bitwise OR of conditions mask )
-               UChar_t    fClusterMask;        // UID ( bitwise OR of clusters mask )
+                UInt_t    fClusterMask;        // UID ( bitwise OR of clusters mask - detector pattern)
  AliTriggerConfiguration* fConfiguration;      // Trigger Configuration used
 
 private:
@@ -62,7 +67,7 @@ private:
                AliCentralTrigger( const AliCentralTrigger& ctp ); // Implemented
                AliCentralTrigger& operator=( const AliCentralTrigger& ctp ); // Not implemented
 
-   ClassDef( AliCentralTrigger, 3 )  // class for running the Central Trigger Processor
+   ClassDef( AliCentralTrigger, 5 )  // class for running the Central Trigger Processor
 };