<commit_before>#ifndef ALIPHOS_H
#define ALIPHOS_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice     */
/* $Id$ */

//_________________________________________________________________________
//  Base Class for PHOS     
//                  
//*-- Author: <NAME> & <NAME> (SUBATECH)

// --- ROOT system ---

class TString ; 

// --- AliRoot header files ---

#include <stdlib.h>
#include "AliDetector.h" 
class AliPHOSGeometry ; 

class AliPHOS : public AliDetector {

 public:

  AliPHOS() : AliDetector() {}
  AliPHOS(const char* name, const char* title="") : AliDetector(name, title) {}
  AliPHOS(const AliPHOS & phos) {
    // cpy ctor: no implementation yet
    // requested by the Coding Convention
    abort() ; 
  }
  virtual ~AliPHOS() {}
  virtual void   AddHit(Int_t, Int_t*, Float_t *) {
    // do not use this definition but the one below
    abort() ; 
  }
  virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ;   
  virtual void   CreateMaterials() ;                     
  virtual  AliPHOSGeometry * GetGeometry() = 0 ;

  Int_t   IsVersion(void) const { return -1 ; } 
  virtual void    SetTreeAddress();                
  virtual TString Version() {return TString(" ") ; } 
 
  AliPHOS & operator = (const AliPHOS & rvalue)  {
    // assignement operator requested by coding convention
    // but not needed
    abort() ;
    return *this ; 
  }
 
protected:

  ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)

} ;

#endif // ALIPHOS_H<commit_msg>actor changed to create the task PHOS<commit_after>#ifndef ALIPHOS_H
#define ALIPHOS_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice     */
/* $Id$ */

//_________________________________________________________________________
//  Base Class for PHOS     
//   PHOS consists of a PbWO4 calorimeter (EMCA) and a gazeous charged 
//   particles detector (CPV or PPSD).
//   The only provided method here is CreateMaterials, 
//   which defines the materials common to all PHOS versions.   
//                  
//*-- Author: <NAME> & <NAME> (SUBATECH)

// --- ROOT system ---

class TString ; 

// --- AliRoot header files ---

#include "AliDetector.h" 
class AliPHOSGeometry ; 

class AliPHOS : public AliDetector {

 public:

  AliPHOS();
  AliPHOS(const char* name, const char* title="");
  AliPHOS(const AliPHOS & phos) {
    // cpy ctor: no implementation yet
    // requested by the Coding Convention
    abort() ; 
  }
  virtual ~AliPHOS() {}
  virtual void   AddHit(Int_t, Int_t*, Float_t *) {
    // do not use this definition but the one below
    abort() ; 
  }
  virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ;   
  virtual void   CreateMaterials() ;                     
  virtual  AliPHOSGeometry * GetGeometry() const = 0 ;

  Int_t   IsVersion(void) const { return -1 ; } 
  virtual void    SetTreeAddress();                
  virtual TString Version() {return TString(" ") ; } 
 
  AliPHOS & operator = (const AliPHOS & rvalue)  {
    // assignement operator requested by coding convention but not needed
    abort() ;
    return *this ; 
  }
 
protected:

  ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)

} ;

#endif // ALIPHOS_H
{'fraction_non_alphanumeric': 0.11045481393975191, 'fraction_numerical': 0.007383343177790904, 'mean_word_length': 2.689542483660131, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '600850', 'n_tokens_mistral': 1093, 'n_tokens_neox': 1044, 'n_words': 329}