LCOV - code coverage report
Current view: top level - STEER/AOD - AliAODFmdCluster.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 5 20.0 %
Date: 2016-06-14 17:26:59 Functions: 2 9 22.2 %

          Line data    Source code
       1             : #ifndef AliAODFmdCluster_H
       2             : #define AliAODFmdCluster_H
       3             : /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /* $Id$ */
       7             : 
       8             : //-------------------------------------------------------------------------
       9             : //     AOD FMD cluster class
      10             : //     Author: Markus Oldenburg, CERN
      11             : //-------------------------------------------------------------------------
      12             : 
      13             : #include <TRef.h>
      14             : 
      15             : #include "AliAODCluster.h"
      16             : #include "AliAODTrack.h"
      17             : 
      18             : class AliAODFmdCluster : public AliAODCluster {
      19             : 
      20             :  public:
      21             :   
      22             :   AliAODFmdCluster();
      23             :   AliAODFmdCluster(Int_t id,
      24             :                    Int_t nLabel,
      25             :                    Int_t *label,
      26             :                    Double_t energy,
      27             :                    Double_t x[3],
      28             :                    Double_t pid[9],
      29             :                    Char_t ttype=kUndef,
      30             :                    AliAODVertex *prodVertex=NULL,
      31             :                    AliAODTrack *primTrack=NULL);
      32             : 
      33             :    AliAODFmdCluster(Int_t id,
      34             :                     Int_t nLabel,
      35             :                     Int_t *label,
      36             :                     Float_t energy,
      37             :                     Float_t x[3],
      38             :                     Float_t pid[9],
      39             :                     Char_t ttype=kUndef,
      40             :                     AliAODVertex *prodVertex=NULL,
      41             :                     AliAODTrack *primTrack=NULL);
      42             : 
      43             :   virtual ~AliAODFmdCluster();
      44             :   AliAODFmdCluster(const AliAODFmdCluster& trk); 
      45             :   AliAODFmdCluster& operator=(const AliAODFmdCluster& trk);
      46             : 
      47           0 :   AliAODVertex *GetProdVertex() const { return (AliAODVertex*)fProdVertex.GetObject(); }
      48           0 :   AliAODTrack *GetPrimTrack() const { return (AliAODTrack*)fPrimTrack.GetObject(); }
      49             :   
      50           0 :   void SetProdVertex(AliAODVertex *vertex) { fProdVertex = vertex; }
      51           0 :   void SetPrimTrack(AliAODTrack *ptrack) { fPrimTrack = ptrack; }
      52             : 
      53             : 
      54             :  private :
      55             : 
      56             :   TRef fProdVertex;     // vertex of origin
      57             :   TRef fPrimTrack;      // primary track associated with this cluster
      58             : 
      59         174 :   ClassDef(AliAODFmdCluster,1);
      60             : };
      61             : 
      62             : #endif

Generated by: LCOV version 1.11