LCOV - code coverage report
Current view: top level - RAW/RAWDatabase - AliRawEventTag.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 8 75.0 %
Date: 2016-06-14 17:26:59 Functions: 9 14 64.3 %

          Line data    Source code
       1             : #ifndef ALIRAWEVENTTAG_H
       2             : #define ALIRAWEVENTTAG_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : //////////////////////////////////////////////////////////////////////////////
       8             : //                                                                          //
       9             : // The AliRawEventTag class handles the raw-data event-oriented tag         //
      10             : // information. One object for each raw-data event is stored in a ROOT      //
      11             : // tree inside the file controled by AliTagDB class.                        //
      12             : // For the moment the tag information includes the raw-data event header +  //
      13             : // the raw-data file GUID and the event index.                              //
      14             : //                                                                          //
      15             : //////////////////////////////////////////////////////////////////////////////
      16             : 
      17             : #include <TObject.h>
      18             : #include <TString.h>
      19             : 
      20             : class AliRawEventHeaderBase;
      21             : 
      22             : class AliRawEventTag: public TObject {
      23             :  public:
      24             : 
      25             :   AliRawEventTag();
      26           6 :   virtual ~AliRawEventTag() {};
      27             : 
      28           8 :   void             SetHeader(AliRawEventHeaderBase *header) { fHeader = header; }
      29           8 :   void             SetGUID(const char *guid) { fGUID = guid; }
      30           8 :   void             SetEventNumber(Int_t event) { fEvent = event; }
      31             : 
      32             :   
      33           2 :   AliRawEventHeaderBase *GetHeader() const { return fHeader; }
      34           0 :   const char *     GetGUID() const { return fGUID.Data(); }
      35           0 :   Int_t            GetEventNumber() const { return fEvent; }
      36             : 
      37             :  private:
      38             : 
      39             :    AliRawEventTag(const AliRawEventTag& tag);
      40             :    AliRawEventTag& operator = (const AliRawEventTag& tag);
      41             : 
      42             :    AliRawEventHeaderBase *fHeader;    // raw data event header
      43             :    TString                fGUID;      // GUID of the raw data file
      44             :    Int_t                  fEvent;     // raw data event number inside the file
      45             : 
      46         142 :    ClassDef(AliRawEventTag,1)  // Raw data event tag
      47             : };
      48             : 
      49             : #endif

Generated by: LCOV version 1.11