LCOV - code coverage report
Current view: top level - ITS/ITSbase - AliITSTransientDigit.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 9 11.1 %
Date: 2016-06-14 17:26:59 Functions: 1 15 6.7 %

          Line data    Source code
       1             : #ifndef ALIITSTRANSIENTDIGIT_H
       2             : #define ALIITSTRANSIENTDIGIT_H
       3             : /* Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice     */
       5             : 
       6             : #include <AliITSdigitSDD.h>
       7             : 
       8             : //______________________________________________________________________
       9             : class AliITSTransientDigit : public AliITSdigitSDD {
      10             : 
      11             :  public:
      12           0 :     AliITSTransientDigit() : fTrackList(0) {}
      13             :     // Standard constructor with digits and "phys"
      14             :     AliITSTransientDigit(Float_t phys,const Int_t *digits);
      15           0 :     virtual ~AliITSTransientDigit(){/*destructor delets TObjArray fTracklist */
      16           0 :         delete fTrackList;}
      17             :     //copy constructor
      18             :     AliITSTransientDigit(const AliITSTransientDigit &source);
      19             :     //assignment operator
      20             :     AliITSTransientDigit& operator=(const AliITSTransientDigit &source);
      21             :     // returns pointer to the TObjArray of tracks and associated charges
      22           0 :     TObjArray  *TrackList() const {return fTrackList;}
      23             :     //returns element i of fTrackList
      24           0 :     TObject *TrackItem(Int_t i) const {return fTrackList->At(i);}
      25             :     //put TObject into fTrackList at location i
      26           0 :     void PutTrackItem(TObject *obj,Int_t i){fTrackList->AddAt(obj,i);}
      27             :     void Print(ostream *os); // Class ascii print function
      28             :     void Read(istream *os);  // Class ascii read function
      29           0 :     virtual Int_t Read(const char *name) {return AliITSdigitSDD::Read(name);}
      30           0 :     virtual void Print(Option_t *option="") const {AliITSdigitSDD::Print(option);}
      31             :  protected:
      32             :     TObjArray *fTrackList;  // track list 
      33             : 
      34         118 :     ClassDef(AliITSTransientDigit,1)  // Transient digit for set: ITS
      35             : 
      36             : };
      37             : // Input and output functions for standard C++ input/output.
      38             : ostream &operator<<(ostream &os,AliITSTransientDigit &source);
      39             : istream &operator>>(istream &os,AliITSTransientDigit &source);
      40             : 
      41             : #endif

Generated by: LCOV version 1.11