]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCv1.h
To comply with coding conventions
[u/mrichter/AliRoot.git] / ZDC / AliZDCv1.h
index 72c508d069ed32849789c7f7eb15341f2de04584..fe71dee0fee91ade4f50d6dbbfada650711693bb 100644 (file)
@@ -17,45 +17,20 @@ class AliZDCv1 : public AliZDC {
 public:
   AliZDCv1();
   AliZDCv1(const char *name, const char *title);
-  virtual      ~AliZDCv1() {}
+  virtual ~AliZDCv1() {}
   virtual void  CreateGeometry();
   virtual void  CreateBeamLine();
   virtual void  CreateZDC();
   virtual void  CreateMaterials();
-  Int_t         Digitize(Int_t Det, Int_t Quad, Int_t Light);
-//  virtual void  FinishEvent();
-  virtual void  SDigits2Digits();
-  virtual void  MakeBranch(Option_t* opt, char *file=0);
   virtual Int_t IsVersion() const {return 1;}
-  virtual void  DrawModule();
+  virtual void  DrawModule() const;
   virtual void  Init();
   virtual void  InitTables();
-  virtual void  Hits2Digits(Int_t ntracks = 0);
   virtual void  StepManager();
   
-  // Digitization parameters setters and getters
-
-  // ADC pedestal mean value
-  void SetPedMean(Int_t Det, Int_t PMDet, Int_t PedMean)
-       {fPedMean[Det][PMDet] = PedMean;}
-  Float_t GetPedMean(Int_t Det, Int_t PMDet)
-       {return fPedMean[Det][PMDet];} 
-  // ADC pedestal width
-  void SetPedSigma(Int_t Det, Int_t PMDet, Int_t PedSigma)
-       {fPedSigma[Det][PMDet] = PedSigma;}
-  Float_t GetPedSigma(Int_t Det, Int_t PMDet)
-       {return fPedSigma[Det][PMDet];}
-  // PM gain
-  void SetPMGain(Int_t Det, Int_t PMDet, Int_t PMGain)
-       {fPMGain[Det][PMDet] = PMGain;}
-  Float_t GetPMGain(Int_t Det, Int_t PMDet)
-       {return fPMGain[Det][PMDet];}
-  // Conversion factor from charge to ADC channels
-  //   F = 1.6E-19 / Resolution [Coulomb/ch]
-  void SetADCRes(Int_t ADCRes) {fADCRes =  ADCRes;}
-  Float_t GetADCRes() {return fADCRes;}
  
 protected:
+
   // Sensitive media
   Int_t   fMedSensF1;         // Sensitive medium F1
   Int_t   fMedSensF2;         // Sensitive medium F2
@@ -63,21 +38,35 @@ protected:
   Int_t   fMedSensZN;         // Sensitive medium for ZN
   Int_t   fMedSensZEM;        // Sensitive medium for EM ZDC
   Int_t   fMedSensGR;         // Other sensitive medium
-  Int_t   fMedSensPI;         // Beam pipe and magnet coils
+//  Int_t   fMedSensPI;         // Beam pipe and magnet coils
+//  Int_t   fMedSensTDI;        // TDI Cu shielding 
   
   // Parameters for light tables
-  Int_t   fNalfan;            // Number of Alfa neutrons
-  Int_t   fNalfap;            // Number of Alfa protons
-  Int_t   fNben;              // Number of beta neutrons
-  Int_t   fNbep;              // Number of beta protons
+  Int_t   fNalfan;           // Number of Alfa (neutrons)
+  Int_t   fNalfap;           // Number of Alfa (protons)
+  Int_t   fNben;             // Number of beta (neutrons)
+  Int_t   fNbep;             // Number of beta (protons)
   Float_t fTablen[4][90][18]; // Neutrons light table
   Float_t fTablep[4][90][28]; // Protons light table
+
+  // Parameters for hadronic calorimeters geometry
+  // NB -> parameters used in CreateZDC() and in StepManager()
+  // (other parameters are defined in CreateZDC())
+  Float_t fDimZP[3];   // Dimensions of proton detector
+  Float_t fPosZN[3];           // Position of neutron detector
+  Float_t fPosZP[3];   // Position of proton detector
+  Float_t fFibZN[3];   // Fibers for neutron detector
+  Float_t fFibZP[3];   // Fibers for proton detector
+
+  // Parameters for EM calorimeter geometry
+  // NB -> parameters used in CreateZDC() and in StepManager()
+  // (other parameters are defined in CreateZDC())
+  Float_t fPosZEM[3]; // Position of EM detector
+  Float_t fZEMLength; // ZEM length
+  
+  // Parameters for tracking studies
+//  Int_t fpLostIT, fpLostD1, fpLostTDI, fpDetected;
   
-  // Parameters for conversion of light yield in ADC channels
-  Float_t fPedMean[3][5];     // ADC pedestal mean value
-  Float_t fPedSigma[3][5];    // ADC pedestal width
-  Float_t fPMGain[3][5];      // PM gain
-  Float_t fADCRes;            // ADC conversion factor
   
    ClassDef(AliZDCv1,1)  // Zero Degree Calorimeter version 1
 };