Dimitri just makes it work
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPIDv1.h
CommitLineData
26d4b141 1#ifndef ALIPHOSPIDV1_H
2#define ALIPHOSPIDV1_H
6ad0bfa0 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
b2a60966 8
9//_________________________________________________________________________
10// Implementation version v1 of the PHOS particle identifier
11// Identification is based on information from PPSD and EMC
12//
13//*-- Author: Yves Schutz (SUBATECH)
6ad0bfa0 14
15// --- ROOT system ---
16
17// --- Standard library ---
18
19// --- AliRoot header files ---
20
26d4b141 21#include "AliPHOSPID.h"
6ad0bfa0 22
26d4b141 23class AliPHOSPIDv1 : public AliPHOSPID {
6ad0bfa0 24
25public:
26
69183710 27 AliPHOSPIDv1()
28 {
29 fCutOnDispersion = 1.5;
30 fCutOnRelativeDistance = 3.0 ;
31 }
32
b2a60966 33 virtual ~ AliPHOSPIDv1(){} ; // dtor
6ad0bfa0 34
69183710 35
36 Float_t GetDistanceInPHOSPlane(AliPHOSEmcRecPoint * emcclu, AliPHOSPpsdRecPoint * PpsdClu, Bool_t &toofar, Option_t * Axis) ; // Relative Distance PPSD-EMC
88714635 37 virtual void MakeParticles(AliPHOSTrackSegment::TrackSegmentsList * trsl,
38 AliPHOSRecParticle::RecParticlesList * rpl ) ; // does the job
0a6d52e3 39 virtual void Print(const char *) ;
09fc14a0 40 virtual void SetDispersionCutOff(Float_t Dcut) {fCutOnDispersion = Dcut ; }
41 virtual void SetShowerProfileCuts(Float_t l1m, Float_t l1M, Float_t l2m, Float_t l2M) ;
69183710 42 virtual void SetRelativeDistanceCut(Float_t CutOnRelativeDistance) ;
43
09fc14a0 44
45 private:
46
47 // cuts on the shower profile
b2a60966 48 Float_t fLambda1m ; // minimum value for first elips axis
49 Float_t fLambda1M ; // maximum value for first elips axis
50 Float_t fLambda2m ; // minimum value for second elips axis
51 Float_t fLambda2M ; // maximum value for second elips axis
09fc14a0 52 Float_t fCutOnDispersion ; // cut on the shower dispersion to distinguish hadronic from EM showers
69183710 53 Float_t fCutOnRelativeDistance; //Cut on the relative distance between PPSD and EMC
6ad0bfa0 54
b2a60966 55 ClassDef( AliPHOSPIDv1,1) // Particle identifier implementation version 1
6ad0bfa0 56
57};
58
26d4b141 59#endif // AliPHOSPIDV1_H