]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSpidESD.cxx
New condtion for definition of bad anodes in SDD pedestal DA
[u/mrichter/AliRoot.git] / ITS / AliITSpidESD.cxx
CommitLineData
8c6a71ab 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
1fad94b4 16/* $Id$ */
17
8c6a71ab 18//-----------------------------------------------------------------
19// Implementation of the ITS PID class
20// Very naive one... Should be made better by the detector experts...
21// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
22//-----------------------------------------------------------------
23
e1e6896f 24#include <TMath.h>
25
8c6a71ab 26#include "AliITSpidESD.h"
8c6a71ab 27#include "AliESDtrack.h"
b89be497 28#include "AliExternalTrackParam.h"
8c6a71ab 29
30ClassImp(AliITSpidESD)
31
8c6a71ab 32
e62c1aea 33//______________________________________________________________________
34AliITSpidESD::AliITSpidESD():TObject(){
35 //Default constructor
36
37}
8c6a71ab 38
25fee9b6 39Double_t AliITSpidESD::Bethe(Double_t p,Double_t mass) {
b89be497 40 // returns AliExternalTrackParam::BetheBloch normalized to 1 at the minimum
41 Double_t density=2.33; // g/cm3
42 Double_t thickness=0.03; // cm
43 Double_t meanMIPSi=116.24; // keV in 300 microns of Si
44 Double_t conv=density*1E6*thickness/meanMIPSi;
45 Float_t betagamma=p/mass;
46 return conv*AliExternalTrackParam::BetheBlochSolid(betagamma);
25fee9b6 47
48}