LCOV - code coverage report
Current view: top level - RAW/RAWDatabase - AliRawEventTag.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 7 20 35.0 %
Date: 2016-06-14 17:26:59 Functions: 3 6 50.0 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
       3             :  *                                                                        *
       4             :  * Author: The ALICE Off-line Project.                                    *
       5             :  * Contributors are mentioned in the code where appropriate.              *
       6             :  *                                                                        *
       7             :  * Permission to use, copy, modify and distribute this software and its   *
       8             :  * documentation strictly for non-commercial purposes is hereby granted   *
       9             :  * without fee, provided that the above copyright notice appears in all   *
      10             :  * copies and that both the copyright notice and this permission notice   *
      11             :  * appear in the supporting documentation. The authors make no claims     *
      12             :  * about the suitability of this software for any purpose. It is          *
      13             :  * provided "as is" without express or implied warranty.                  *
      14             :  **************************************************************************/
      15             : 
      16             : //////////////////////////////////////////////////////////////////////////////
      17             : //                                                                          //
      18             : // The AliRawEventTag class handles the raw-data event-oriented tag         //
      19             : // information. One object for each raw-data event is stored in a ROOT      //
      20             : // tree inside the file controled by AliTagDB class.                        //
      21             : // For the moment the tag information includes the raw-data event header +  //
      22             : // the raw-data file GUID and the event index.                              //
      23             : //                                                                          //
      24             : //////////////////////////////////////////////////////////////////////////////
      25             : 
      26             : #include "AliRawEventTag.h"
      27             : #include "AliRawEventHeaderBase.h"
      28             : 
      29         128 : ClassImp(AliRawEventTag)
      30             : 
      31             : //______________________________________________________________________________
      32           1 : AliRawEventTag::AliRawEventTag() :
      33           1 :   fHeader(NULL),
      34           1 :   fGUID(""),
      35           1 :   fEvent(-1)
      36           5 : {
      37             :   // Default constructor
      38           2 : }
      39             : 
      40             : //___________________________________________________________________________
      41             : AliRawEventTag::AliRawEventTag(const AliRawEventTag & tag) :
      42           0 :   TObject(tag),
      43           0 :   fHeader(tag.fHeader),
      44           0 :   fGUID(tag.fGUID),
      45           0 :   fEvent(tag.fEvent)
      46           0 : {
      47             :   // copy constructor
      48           0 : }
      49             : 
      50             : //___________________________________________________________________________
      51             : AliRawEventTag & AliRawEventTag::operator=(const AliRawEventTag &tag) {
      52             :   // assignment operator
      53           0 :   if (this != &tag) {
      54           0 :     TObject::operator=(tag);
      55             : 
      56           0 :     SetHeader(tag.GetHeader());
      57           0 :     SetGUID(tag.GetGUID());
      58           0 :     SetEventNumber(tag.GetEventNumber());
      59           0 :   }
      60           0 :   return *this;
      61             : }

Generated by: LCOV version 1.11