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


/////////////////////////////////////////////////////
//                                                 //
//  Manager and hits classes for set :   VZERO     //
//                                     version 6   //
//                                  september 2005 //
//                                                 //
/////////////////////////////////////////////////////

#include "AliVZERO.h"

// --- ROOT libraries ---
#include "TClonesArray.h"
#include "TLorentzVector.h"
#include "TMath.h"
#include "TObjectTable.h"
#include "TVirtualMC.h"
#include "TParticle.h"

#include "TGeoManager.h"
#include "TGeoMaterial.h"
#include "TGeoMedium.h"
#include "TGeoNode.h"
#include "TGeoVolume.h"
#include "TGeoTube.h"
#include "TGeoMatrix.h"

// --- AliRoot header files ---
#include "AliRun.h"
#include "AliMC.h"
#include "AliConst.h"
#include "AliMagF.h"
#include "AliVZEROhit.h"
#include "AliLog.h"
 
class AliVZEROv6 : public AliVZERO {
  
public:
  AliVZEROv6();
  AliVZEROv6(const char *name, const char *title);
  virtual       ~AliVZEROv6() {};
  virtual void   AddHit(Int_t track, Int_t *vol, Float_t *hits); 
  virtual void   AddDigits(Int_t *tracks, Int_t *digits);
  virtual void   CreateGeometry();
  virtual void   CreateMaterials();
  virtual void   DrawModule() const;
  virtual void   DrawGeometry();
  virtual void   Init();
  virtual void   MakeBranch(Option_t *option);
  virtual Int_t  IsVersion() const {return fVersion;};
  virtual void   StepManager();
  Int_t          GetCellId(Int_t *vol, Float_t *hits);
  
protected:
  Int_t          fCellId;        // Scintillator cell number from 0 to 95 
  TLorentzVector fTrackPosition; // Position of particle entering cell
  TLorentzVector fTrackMomentum; // Momentum of particle entering cell
  
private: 

// Parameters related to geometry :
// V0 part in front of muon arm absorber 

  Float_t  fV0CHeight1, fV0CHeight2, fV0CHeight3, fV0CHeight4; // Heights of V0C elements 
  Float_t  fV0CRMin, fV0CRBox;  // Min and max radii of V0C box
  Float_t  fV0CLidThickness;    // Thickness of V0C box lid
  Float_t  fV0CCellThickness;   // Thickness of V0C cell
  Float_t  fV0CBoxThickness;    // Thickness of V0C box
  Float_t  fV0COffsetFibers;    // Z offsets to output fibers

// V0 part on the other side with respect to IP

  Float_t  fV0AHeight1, fV0AHeight2, fV0AHeight3, fV0AHeight4; // Heights of V0A elements  
  Float_t  fV0ARMin;            // Minimim radius of V0A box
  Float_t  fV0ACellThickness;   // Thickness of V0A cell
  
// Parameters related to light production :
 
  Float_t fLightYield;       // Lightyield in BC408   (93.75 eV per photon)
  Float_t fLightAttenuation; // LightAttenuation in fibers (0.05 per meter)
  Float_t fnMeters;          // Number of meters of fibers to PM
  Float_t fFibToPhot;        // Loss in Fibers - Photocathode Connection 
  Int_t   fVersion;          // Version number == IsVersion
  
  ClassDef(AliVZEROv6,1)  //Class for VZERO version 6
};

#endif


<commit_msg>Digit header added<commit_after>#ifndef ALIVZEROv6_H
#define ALIVZEROv6_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */


/////////////////////////////////////////////////////
//                                                 //
//  Manager and hits classes for set :   VZERO     //
//                                     version 6   //
//                                  september 2005 //
//                                                 //
/////////////////////////////////////////////////////

#include "AliVZERO.h"

// --- ROOT libraries ---
#include "TClonesArray.h"
#include "TLorentzVector.h"
#include "TMath.h"
#include "TObjectTable.h"
#include "TVirtualMC.h"
#include "TParticle.h"

#include "TGeoManager.h"
#include "TGeoMaterial.h"
#include "TGeoMedium.h"
#include "TGeoNode.h"
#include "TGeoVolume.h"
#include "TGeoTube.h"
#include "TGeoMatrix.h"

// --- AliRoot header files ---
#include "AliRun.h"
#include "AliMC.h"
#include "AliConst.h"
#include "AliMagF.h"
#include "AliVZEROhit.h"
#include "AliVZEROdigit.h"
#include "AliLog.h"
 
class AliVZEROv6 : public AliVZERO {
  
public:
  AliVZEROv6();
  AliVZEROv6(const char *name, const char *title);
  virtual       ~AliVZEROv6() {};
  virtual void   AddHit(Int_t track, Int_t *vol, Float_t *hits); 
  virtual void   AddDigits(Int_t *tracks, Int_t *digits);
  virtual void   CreateGeometry();
  virtual void   CreateMaterials();
  virtual void   DrawModule() const;
  virtual void   DrawGeometry();
  virtual void   Init();
  virtual void   MakeBranch(Option_t *option);
  virtual Int_t  IsVersion() const {return fVersion;};
  virtual void   StepManager();
  Int_t          GetCellId(Int_t *vol, Float_t *hits);
  
protected:
  Int_t          fCellId;        // Scintillator cell number from 0 to 95 
  TLorentzVector fTrackPosition; // Position of particle entering cell
  TLorentzVector fTrackMomentum; // Momentum of particle entering cell
  
private: 

// Parameters related to geometry :
// V0 part in front of muon arm absorber 

  Float_t  fV0CHeight1, fV0CHeight2, fV0CHeight3, fV0CHeight4; // Heights of V0C elements 
  Float_t  fV0CRMin, fV0CRBox;  // Min and max radii of V0C box
  Float_t  fV0CLidThickness;    // Thickness of V0C box lid
  Float_t  fV0CCellThickness;   // Thickness of V0C cell
  Float_t  fV0CBoxThickness;    // Thickness of V0C box
  Float_t  fV0COffsetFibers;    // Z offsets to output fibers

// V0 part on the other side with respect to IP

  Float_t  fV0AHeight1, fV0AHeight2, fV0AHeight3, fV0AHeight4; // Heights of V0A elements  
  Float_t  fV0ARMin;            // Minimim radius of V0A box
  Float_t  fV0ACellThickness;   // Thickness of V0A cell
  
// Parameters related to light production :
 
  Float_t fLightYield;       // Lightyield in BC408   (93.75 eV per photon)
  Float_t fLightAttenuation; // LightAttenuation in fibers (0.05 per meter)
  Float_t fnMeters;          // Number of meters of fibers to PM
  Float_t fFibToPhot;        // Loss in Fibers - Photocathode Connection 
  Int_t   fVersion;          // Version number == IsVersion
  
  ClassDef(AliVZEROv6,1)  //Class for VZERO version 6
};

#endif



{'fraction_non_alphanumeric': 0.12251243781094527, 'fraction_numerical': 0.021455223880597014, 'mean_word_length': 2.21971971971972, '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': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6842066', 'n_tokens_mistral': 2218, 'n_tokens_neox': 2114, 'n_words': 608}