]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/Cal/AliTRDCalPID.cxx
Include informations from rstate module
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalPID.cxx
CommitLineData
720a0a16 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
16/* $Id$ */
17
18//////////////////////////////////////////////////////////////////////////
19// //
44dbae42 20// Container for PID information //
720a0a16 21// //
22// Authors: //
23// Prashant Shukla <shukla@pi0.physi.uni-heidelberg.de> //
24// Alex Bercuci <a.bercuci@gsi.de> //
25// //
26//////////////////////////////////////////////////////////////////////////
27
28#include <TH1F.h>
29#include <TH2F.h>
30#include <TFile.h>
31#include <TROOT.h>
32
33#include "AliLog.h"
34#include "AliPID.h"
35#include "AliESD.h"
36#include "AliESDtrack.h"
37
38#include "AliTRDCalPID.h"
39#include "AliTRDcalibDB.h"
40
41ClassImp(AliTRDCalPID)
42
44dbae42 43Char_t* AliTRDCalPID::fPartName[AliPID::kSPECIES] = { "electron", "muon", "pion", "kaon", "proton"};
44Char_t* AliTRDCalPID::fPartSymb[AliPID::kSPECIES] = { "EL", "MU", "PI", "KA", "PR"};
45Float_t AliTRDCalPID::fTrackMomentum[kNMom] = { 0.6, 0.8, 1.0, 1.5, 2.0
46 , 3.0, 4.0, 5.0, 6.0, 8.0
47 , 10.0};
720a0a16 48
720a0a16 49//_________________________________________________________________________
50AliTRDCalPID::AliTRDCalPID()
51 :TNamed("pid", "PID for TRD")
44dbae42 52 ,fModel(0x0)
720a0a16 53{
54 //
55 // The Default constructor
56 //
57
720a0a16 58}
59
44dbae42 60//_____________________________________________________________________________
720a0a16 61AliTRDCalPID::AliTRDCalPID(const Text_t *name, const Text_t *title)
62 :TNamed(name,title)
44dbae42 63 ,fModel(0x0)
720a0a16 64{
65 //
66 // The main constructor
44dbae42 67 //
720a0a16 68
720a0a16 69}
70
71//_________________________________________________________________________
72AliTRDCalPID::~AliTRDCalPID()
73{
74 //
75 // Destructor
76 //
77
44dbae42 78 if (fModel) {
79 delete fModel;
720a0a16 80 }
720a0a16 81
720a0a16 82}