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

/* $Id$ */

////////////////////////////////////////////////
//  Manager and hits classes for set:PMD      //
////////////////////////////////////////////////
 
#include "AliDetector.h"

class AliLoader;
class TClonesArray;
class TFile;
class AliPMDRecPoint;
class AliPMDLoader;
class AliPMDhit;

class AliPMD : public AliDetector {

public:
  AliPMD();
  AliPMD(const char *name, const char *title);

  virtual AliLoader* MakeLoader(const char* topfoldername);

  virtual      ~AliPMD();
  virtual void  AddHit(Int_t track, Int_t* vol, Float_t* hits);
  virtual void  BuildGeometry();
  virtual void  CreateGeometry() {}
  virtual void  CreateMaterials() {}
  virtual Int_t IsVersion() const =0;
  virtual void  SetPAR(Float_t p1, Float_t p2, Float_t p3, Float_t p4);
  virtual void  SetIN(Float_t p1, Float_t p2, Float_t p3, Float_t p4, Float_t p5);
  virtual void  SetGEO(Float_t p1, Float_t p2, Float_t p3);
  virtual void  SetPadSize(Float_t p1, Float_t p2, Float_t p3, Float_t p4);
  virtual void  StepManager();
  virtual void  MakeBranch(Option_t* option);
  virtual void  SetTreeAddress();
  
  virtual void  Hits2SDigits();
  virtual void  SDigits2Digits();
  virtual void  Hits2Digits();

  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;

  virtual void  Digits2Raw();
  
 protected:
  Float_t fPar[4];           // pmdin, pmdout, thgas, thcell
  Float_t fIn[5];            // thmin, thmax, zdist, thlow, thhigh
  Float_t fGeo[3];           // wafer, edge, numqu
  Float_t fPadSize[4];       // size of the pads
  Int_t   fNumPads[4];       // number of the pads

  ClassDef(AliPMD,6)  // Base Class for Photon Multiplicity Detector
};
#endif<commit_msg>method Raw2SDigits added<commit_after>#ifndef ALIPMD_H
#define ALIPMD_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

////////////////////////////////////////////////
//  Manager and hits classes for set:PMD      //
////////////////////////////////////////////////
 
#include "AliDetector.h"

class AliLoader;
class TClonesArray;
class TFile;
class AliPMDRecPoint;
class AliPMDLoader;
class AliPMDhit;

class AliPMD : public AliDetector {

public:
  AliPMD();
  AliPMD(const char *name, const char *title);

  virtual AliLoader* MakeLoader(const char* topfoldername);

  virtual      ~AliPMD();
  virtual void  AddHit(Int_t track, Int_t* vol, Float_t* hits);
  virtual void  BuildGeometry();
  virtual void  CreateGeometry() {}
  virtual void  CreateMaterials() {}
  virtual Int_t IsVersion() const =0;
  virtual void  SetPAR(Float_t p1, Float_t p2, Float_t p3, Float_t p4);
  virtual void  SetIN(Float_t p1, Float_t p2, Float_t p3, Float_t p4, Float_t p5);
  virtual void  SetGEO(Float_t p1, Float_t p2, Float_t p3);
  virtual void  SetPadSize(Float_t p1, Float_t p2, Float_t p3, Float_t p4);
  virtual void  StepManager();
  virtual void  MakeBranch(Option_t* option);
  virtual void  SetTreeAddress();
  
  virtual void  Hits2SDigits();
  virtual void  SDigits2Digits();
  virtual void  Hits2Digits();

  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;

  virtual void  Digits2Raw();
  virtual Bool_t Raw2SDigits();
  
 protected:
  Float_t fPar[4];           // pmdin, pmdout, thgas, thcell
  Float_t fIn[5];            // thmin, thmax, zdist, thlow, thhigh
  Float_t fGeo[3];           // wafer, edge, numqu
  Float_t fPadSize[4];       // size of the pads
  Int_t   fNumPads[4];       // number of the pads

  ClassDef(AliPMD,7)  // Base Class for Photon Multiplicity Detector
};
#endif
{'fraction_non_alphanumeric': 0.14240919780506925, 'fraction_numerical': 0.018813692187091717, 'mean_word_length': 2.775147928994083, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1243182', 'n_tokens_mistral': 1318, 'n_tokens_neox': 1284, 'n_words': 380}