]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Obsolete class AliZDCMergedHit deleted
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Jun 2008 06:47:42 +0000 (06:47 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Jun 2008 06:47:42 +0000 (06:47 +0000)
ZDC/AliZDCMergedHit.cxx [deleted file]
ZDC/AliZDCMergedHit.h [deleted file]

diff --git a/ZDC/AliZDCMergedHit.cxx b/ZDC/AliZDCMergedHit.cxx
deleted file mode 100644 (file)
index 46f7514..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- *                                                                        *
- * Author: The ALICE Off-line Project.                                    *
- * Contributors are mentioned in the code where appropriate.              *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *;
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
-
-/* $Id$ */
-
-//
-////////////////////////////////////////////////
-//  MergedHits classes for set ZDC            //
-////////////////////////////////////////////////
-//
-
-#include "AliZDCMergedHit.h"
-#include "AliRun.h"
-
-ClassImp(AliZDCMergedHit)
-  
-//_____________________________________________________________________________
-AliZDCMergedHit::AliZDCMergedHit(Int_t *sector, Float_t *mhits)
-{
-  //
-  // Add a ZDC hit for merging
-  //
-  Int_t i;
-  for(i=0; i<2; i++) {
-     fSector[i] = sector[i];
-  }
-  fPrimKinEn   = mhits[0];
-  fXImpact     = mhits[1];
-  fYImpact     = mhits[2];
-  fSFlag       = mhits[3];
-  fLightPMQ    = mhits[4];
-  fLightPMC    = mhits[5];
-  fEnergy      = mhits[6]; 
-  
-}
diff --git a/ZDC/AliZDCMergedHit.h b/ZDC/AliZDCMergedHit.h
deleted file mode 100644 (file)
index 6311a77..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#ifndef ALIZDCMERGEDHIT_H
-#define ALIZDCMERGEDHIT_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-////////////////////////////////////////////////
-//  Hits classes for set ZDC                  //
-////////////////////////////////////////////////
-
-#include "TObject.h"
-
-class AliZDCMergedHit : public TObject {
-
-public:
-  AliZDCMergedHit() {}
-  AliZDCMergedHit(Int_t *sector, Float_t *mhits);
-  AliZDCMergedHit(AliZDCMergedHit* oldhit) {*this=*oldhit;}
-  virtual ~AliZDCMergedHit() {}
-
-  // Getters 
-  virtual Int_t   GetSector(Int_t i) const {return fSector[i];}
-  virtual Float_t GetPrimKinEn() const     {return fPrimKinEn;}
-  virtual Float_t GetXImpact() const       {return fXImpact;}
-  virtual Float_t GetYImpact() const       {return fYImpact;}
-  virtual Float_t GetSFlag() const         {return fSFlag;}
-  virtual Float_t GetLightPMQ() const      {return fLightPMQ;}
-  virtual Float_t GetLightPMC() const      {return fLightPMC;}
-  virtual Float_t GetEnergy() const        {return fEnergy;}
-
-  // Operators
-  Int_t operator == (AliZDCMergedHit &quad) {
-     Int_t i;
-     for(i=0; i<2; i++) if(fSector[i]!=quad.GetSector(i)) return 0;
-     return 1;
-  }
-  
-  virtual AliZDCMergedHit& operator + (AliZDCMergedHit &quad) {
-     fLightPMQ+=quad.GetLightPMQ();
-     fLightPMC+=quad.GetLightPMC();
-     fEnergy+=quad.GetEnergy();
-     return *this;
-  }
-
-  // Print method
-  virtual void Print(Option_t *) const {
-     printf(" ### MergedHit: sector[0] =  %d sector[1] =  %d "
-           "  LightPMQ = %f, LightPMC = %f,  Deposited E = %f\n ", 
-           fSector[0],fSector[1],fLightPMQ,fLightPMC,fEnergy);
-  }
-
-private:
-  // Data members
-  Int_t      fSector[2];    //Array of volumes
-  Float_t    fPrimKinEn;    //Primary particle energy
-  Float_t    fXImpact;      //x-coord. of the impact point over the ZDC
-  Float_t    fYImpact;      //y-coord. of the impact point over the ZDC
-  Float_t    fSFlag;        //Secondary flag
-  Float_t    fLightPMQ;     //Cerenkov light produced in each quadrant
-  Float_t    fLightPMC;     //Cerenkov light seen by the common PM
-  Float_t    fEnergy;       //Total energy deposited in eV
-
-  ClassDef(AliZDCMergedHit,1)  // MergedHits for the Zero Degree Calorimeters
-};
-#endif