LCOV - code coverage report
Current view: top level - PHOS/PHOSbase - AliPHOS.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 3 7 42.9 %
Date: 2016-06-14 17:26:59 Functions: 4 10 40.0 %

          Line data    Source code
       1             : #ifndef ALIPHOS_H
       2             : #define ALIPHOS_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice     */
       5             : /* $Id$ */
       6             : 
       7             : /* History of cvs commits:
       8             :  *
       9             :  * $Log$
      10             :  * Revision 1.73  2007/08/07 14:12:03  kharlov
      11             :  * Quality assurance added (Yves Schutz)
      12             :  *
      13             :  * Revision 1.72  2007/02/13 10:52:08  policheh
      14             :  * Raw2SDigits() implemented
      15             :  *
      16             :  * Revision 1.71  2007/02/05 10:43:25  hristov
      17             :  * Changes for correct initialization of Geant4 (Mihaela)
      18             :  *
      19             :  * Revision 1.70  2007/01/17 17:28:56  kharlov
      20             :  * Extract ALTRO sample generation to a separate class AliPHOSPulseGenerator
      21             :  *
      22             :  * Revision 1.69  2006/11/14 17:11:15  hristov
      23             :  * Removing inheritances from TAttLine, TAttMarker and AliRndm in AliModule. The copy constructor and assignment operators are moved to the private part of the class and not implemented. The corresponding changes are propagated to the detectors
      24             :  *
      25             :  * Revision 1.68  2006/08/11 12:36:25  cvetan
      26             :  * Update of the PHOS code needed in order to read and reconstruct the beam test raw data (i.e. without an existing galice.root)
      27             :  *
      28             :  * Revision 1.67  2006/04/07 08:42:00  hristov
      29             :  * Follow AliAlignObj framework and remove AliPHOSAlignData (Yu.Kharlov)
      30             :  *
      31             :  * Revision 1.66  2006/03/24 21:39:33  schutz
      32             :  * Modification needed to include PHOS in the global trigger framework
      33             :  *
      34             :  * Revision 1.65  2006/03/07 18:56:25  kharlov
      35             :  * CDB is passed via environment variable
      36             :  *
      37             :  * Revision 1.64  2005/11/03 13:09:19  hristov
      38             :  * Removing meaningless const declarations (linuxicc)
      39             :  *
      40             :  * Revision 1.63  2005/07/26 13:32:39  kharlov
      41             :  * Restoring raw data fit from version of 29-Aug-2004
      42             :  *
      43             :  * Revision 1.62  2005/07/06 10:10:32  hristov
      44             :  * Moving the functions used to initialize TF1 and TF2 to the pivate part of the class
      45             :  *
      46             :  * Revision 1.61  2005/05/28 12:10:07  schutz
      47             :  * Copy constructor is corrected (by T.P.)
      48             :  *
      49             :  */
      50             : 
      51             : 
      52             : //_________________________________________________________________________
      53             : //  Base Class for PHOS     
      54             : //                  
      55             : //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
      56             : 
      57             : 
      58             : // --- ROOT system ---
      59             : class TString ; 
      60             : class TFolder ;
      61             : class TTree ; 
      62             : class TRandom ; 
      63             : 
      64             : // --- AliRoot header files ---
      65             : #include "AliDetector.h" 
      66             : #include "AliLog.h"
      67             : #include "AliPHOSGeometry.h" 
      68             : #include "AliPHOSTrigger.h"
      69             : class AliPHOSCalibData ;
      70             : 
      71             : class AliPHOS : public AliDetector {
      72             : 
      73             : public:
      74             : 
      75             :   AliPHOS() ;
      76             :   AliPHOS(const char* name, const char* title="") ;  
      77             :   virtual ~AliPHOS() ; 
      78             :   virtual void   AddHit(Int_t, Int_t*, Float_t *) {
      79             :     // do not use this definition but the one below
      80           0 :     AliFatal(Form("do not use")) ;
      81             :     
      82           0 :   }
      83             :   virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, 
      84             :                          Int_t id, Float_t *hits ) = 0 ;   
      85             :   virtual AliDigitizer* CreateDigitizer(AliDigitizationInput* digInput) const;
      86             :   virtual void  CreateMaterials() ;            
      87             :   virtual void  Digits2Raw();
      88             :   virtual Bool_t Raw2SDigits(AliRawReader* rawReader);
      89           2 :   virtual void  FinishRun() {;}
      90             :   virtual AliPHOSGeometry * GetGeometry() const 
      91     4065770 :   {return AliPHOSGeometry::GetInstance(GetTitle(),"") ;  }
      92             : 
      93             :   virtual void    Hits2SDigits();
      94             :   virtual Int_t   IsVersion(void) const = 0 ;  
      95             :   virtual void    Init();
      96             :   virtual AliTriggerDetector* CreateTriggerDetector() const 
      97           0 :     { return new AliPHOSTrigger(); }
      98             : 
      99             :   virtual AliLoader* MakeLoader(const char* topfoldername);
     100             :   virtual void    SetTreeAddress();   
     101           0 :   virtual const TString Version() const {return TString(" ") ; } 
     102             : 
     103             :  private:                                        
     104             :   AliPHOS(AliPHOS & phos);
     105             :   AliPHOS & operator = (const AliPHOS & /*rvalue*/);
     106             : 
     107             :  protected:
     108             :   AliPHOSCalibData * fgCalibData ; //!  Pointer to Calibration DB
     109             : 
     110          34 :   ClassDef(AliPHOS,6) // Photon Spectrometer Detector (base class)
     111             : } ;
     112             : 
     113             : #endif // ALIPHOS_H

Generated by: LCOV version 1.11