LCOV - code coverage report
Current view: top level - MUON/MUONrec - AliMUONTriggerTrackStoreV1.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 4 25.0 %
Date: 2016-06-14 17:26:59 Functions: 1 8 12.5 %

          Line data    Source code
       1             : #ifndef ALIMUONTRIGGERTRACKSTOREV1_H
       2             : #define ALIMUONTRIGGERTRACKSTOREV1_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             : * See cxx source for full Copyright notice                               */
       6             : 
       7             : // $Id$
       8             : 
       9             : /// \ingroup rec
      10             : /// \class AliMUONTriggerTrackStoreV1
      11             : /// \brief Implementation of AliMUONVTriggerTrackStore
      12             : /// 
      13             : // Author Laurent Aphecetche
      14             : 
      15             : #ifndef ALIMUONVTRIGERTRACKSTORE_H
      16             : #  include "AliMUONVTriggerTrackStore.h"
      17             : #endif
      18             : 
      19             : class TClonesArray;
      20             : 
      21             : class AliMUONTriggerTrackStoreV1 : public AliMUONVTriggerTrackStore
      22             : {
      23             : public:
      24             :   AliMUONTriggerTrackStoreV1();
      25             :   AliMUONTriggerTrackStoreV1(TRootIOCtor* dummy);
      26             :   virtual ~AliMUONTriggerTrackStoreV1();
      27             :   
      28             :   using AliMUONVTriggerTrackStore::Add;
      29             :   virtual void Add(const AliMUONTriggerTrack& track);
      30             : 
      31             :   /// Whether the Connect(TTree&) method is implemented
      32           0 :   virtual Bool_t CanConnect() const { return kTRUE; }
      33             :   
      34             :   virtual void Clear(Option_t* opt="");
      35             : 
      36             :   virtual Bool_t Connect(TTree& tree, Bool_t alone=kTRUE) const;
      37             : 
      38           0 :   virtual AliMUONTriggerTrackStoreV1* Create() const { return new AliMUONTriggerTrackStoreV1; }
      39             :   
      40             :   virtual TIterator* CreateIterator() const;  
      41             : 
      42             :   using AliMUONVTriggerTrackStore::GetSize;
      43             :   
      44             :   virtual Int_t GetSize() const;
      45             :   
      46             : private:
      47             :     /// Return the tracks array
      48             :     TClonesArray* Tracks() const { return fTracks; }
      49             :     /// Return the address of the tracks array
      50           0 :     TClonesArray** TracksPtr() const { return const_cast<TClonesArray**>(&fTracks); }
      51             :   
      52             :     /// Not implemented
      53             :     AliMUONTriggerTrackStoreV1(const AliMUONTriggerTrackStoreV1&);
      54             :     /// Not implemented
      55             :     AliMUONTriggerTrackStoreV1& operator=(const AliMUONTriggerTrackStoreV1&);
      56             :   
      57             : private:
      58             :     TClonesArray* fTracks; ///< internal array
      59             :   
      60          18 :   ClassDef(AliMUONTriggerTrackStoreV1,1) // Implementation of AliMUONVTriggerTrackStore
      61             : };
      62             : 
      63             : #endif

Generated by: LCOV version 1.11