LCOV - code coverage report
Current view: top level - STEER/AOD - AliAODPmdCluster.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 11 24 45.8 %
Date: 2016-06-14 17:26:59 Functions: 8 13 61.5 %

          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 PMD cluster class
      20             : //     Author: Markus Oldenburg, CERN
      21             : //-------------------------------------------------------------------------
      22             : 
      23             : #include "AliAODPmdCluster.h"
      24             : 
      25         170 : ClassImp(AliAODPmdCluster)
      26             : 
      27             : //______________________________________________________________________________
      28             : AliAODPmdCluster::AliAODPmdCluster() : 
      29           2 :   AliAODCluster(),
      30           2 :   fAssocCluster(NULL)
      31          10 : {
      32             :   // default constructor
      33           4 : }
      34             : 
      35             : //______________________________________________________________________________
      36             : AliAODPmdCluster::AliAODPmdCluster(Int_t id,
      37             :                                    Int_t nLabel,
      38             :                                    Int_t *label, 
      39             :                                    Double_t energy,
      40             :                                    Double_t x[3],
      41             :                                    Double_t pid[13],
      42             :                                    Char_t ttype,
      43             :                                    UInt_t /*selectInfo*/,
      44             :                                    AliAODPmdCluster* assoc) :
      45         172 :   AliAODCluster(id, nLabel, label, energy, x, pid, ttype),
      46         172 :   fAssocCluster(assoc)
      47         860 : {
      48             :   // constructor
      49         344 : }
      50             : 
      51             : //______________________________________________________________________________
      52             : AliAODPmdCluster::AliAODPmdCluster(Int_t id,
      53             :                                    Int_t nLabel,
      54             :                                    Int_t *label, 
      55             :                                    Float_t energy,
      56             :                                    Float_t x[3],
      57             :                                    Float_t pid[13],
      58             :                                    Char_t ttype,
      59             :                                    UInt_t /*selectInfo*/,
      60             :                                    AliAODPmdCluster* assoc) :
      61           0 :   AliAODCluster(id, nLabel, label, energy, x, pid, ttype),
      62           0 :   fAssocCluster(assoc)
      63           0 : {
      64             :   // constructor
      65           0 : }
      66             : 
      67             : 
      68             : //______________________________________________________________________________
      69             : AliAODPmdCluster::~AliAODPmdCluster() 
      70        1044 : {
      71             :   // destructor
      72         522 : }
      73             : 
      74             : 
      75             : //______________________________________________________________________________
      76             : AliAODPmdCluster::AliAODPmdCluster(const AliAODPmdCluster& clus) :
      77           0 :   AliAODCluster(clus),
      78           0 :   fAssocCluster(clus.fAssocCluster)
      79           0 : {
      80             :   // Copy constructor
      81           0 : }
      82             : 
      83             : //______________________________________________________________________________
      84             : AliAODPmdCluster& AliAODPmdCluster::operator=(const AliAODPmdCluster& clus)
      85             : {
      86             :   // Assignment operator
      87           0 :   if(this!=&clus) {
      88             : 
      89           0 :     AliAODCluster::operator=(clus);
      90             :     
      91           0 :     fAssocCluster = clus.fAssocCluster;
      92           0 :   }
      93             : 
      94           0 :   return *this;
      95             : }

Generated by: LCOV version 1.11