LCOV - code coverage report
Current view: top level - STEER/AOD - AliAODFmdCluster.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 8 29 27.6 %
Date: 2016-06-14 17:26:59 Functions: 6 13 46.2 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-2007, 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             : /* $Id$ */
      17             : 
      18             : //-------------------------------------------------------------------------
      19             : //     AOD FMD cluster class
      20             : //     Author: Markus Oldenburg, CERN
      21             : //-------------------------------------------------------------------------
      22             : 
      23             : #include "AliAODFmdCluster.h"
      24             : 
      25         170 : ClassImp(AliAODFmdCluster)
      26             :   
      27             : //______________________________________________________________________________
      28             : AliAODFmdCluster::AliAODFmdCluster() : 
      29           2 :   AliAODCluster(),
      30           2 :   fProdVertex(NULL),
      31           2 :   fPrimTrack(NULL)
      32          10 : {
      33             :   // default constructor
      34           4 : }
      35             : 
      36             : //______________________________________________________________________________
      37             : AliAODFmdCluster::AliAODFmdCluster(Int_t id,
      38             :                                    Int_t nLabel,
      39             :                                    Int_t *label, 
      40             :                                    Double_t energy,
      41             :                                    Double_t x[3],
      42             :                                    Double_t pid[9],
      43             :                                    Char_t ttype,
      44             :                                    AliAODVertex *prodVertex,
      45             :                                    AliAODTrack *primTrack) :
      46           0 :   AliAODCluster(id, nLabel, label, energy, x, pid, ttype),
      47           0 :   fProdVertex(prodVertex),
      48           0 :   fPrimTrack(primTrack)
      49           0 : {
      50             :   // constructor
      51           0 : }
      52             : 
      53             : //______________________________________________________________________________
      54             : AliAODFmdCluster::AliAODFmdCluster(Int_t id,
      55             :                                    Int_t nLabel,
      56             :                                    Int_t *label, 
      57             :                                    Float_t energy,
      58             :                                    Float_t x[3],
      59             :                                    Float_t pid[9],
      60             :                                    Char_t ttype,
      61             :                                    AliAODVertex *prodVertex,
      62             :                                    AliAODTrack *primTrack) :
      63           0 :   AliAODCluster(id, nLabel, label, energy, x, pid, ttype),
      64           0 :   fProdVertex(prodVertex),
      65           0 :   fPrimTrack(primTrack)
      66           0 : {
      67             :   // constructor
      68           0 : }
      69             : 
      70             : 
      71             : //______________________________________________________________________________
      72             : AliAODFmdCluster::~AliAODFmdCluster() 
      73          12 : {
      74             :   // destructor
      75           6 : }
      76             : 
      77             : 
      78             : //______________________________________________________________________________
      79             : AliAODFmdCluster::AliAODFmdCluster(const AliAODFmdCluster& clus) :
      80           0 :   AliAODCluster(clus),
      81           0 :   fProdVertex(clus.fProdVertex),
      82           0 :   fPrimTrack(clus.fPrimTrack)
      83           0 : {
      84             :   // Copy constructor
      85           0 : }
      86             : 
      87             : //______________________________________________________________________________
      88             : AliAODFmdCluster& AliAODFmdCluster::operator=(const AliAODFmdCluster& clus)
      89             : {
      90             :   // Assignment operator
      91           0 :   if(this!=&clus) {
      92             : 
      93           0 :     AliAODCluster::operator=(clus);
      94             : 
      95           0 :     fProdVertex = clus.fProdVertex;
      96           0 :     fPrimTrack = clus.fPrimTrack;
      97           0 :   }
      98             : 
      99           0 :   return *this;
     100             : }

Generated by: LCOV version 1.11