Dimitri : bug concerning relative distances fixed
[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
1cb7c1ee 27 AliPHOSPIDv1() ;
69183710 28
1cb7c1ee 29 virtual ~AliPHOSPIDv1(){} ; // dtor
6ad0bfa0 30
69183710 31
32 Float_t GetDistanceInPHOSPlane(AliPHOSEmcRecPoint * emcclu, AliPHOSPpsdRecPoint * PpsdClu, Bool_t &toofar, Option_t * Axis) ; // Relative Distance PPSD-EMC
88714635 33 virtual void MakeParticles(AliPHOSTrackSegment::TrackSegmentsList * trsl,
34 AliPHOSRecParticle::RecParticlesList * rpl ) ; // does the job
0a6d52e3 35 virtual void Print(const char *) ;
09fc14a0 36 virtual void SetDispersionCutOff(Float_t Dcut) {fCutOnDispersion = Dcut ; }
37 virtual void SetShowerProfileCuts(Float_t l1m, Float_t l1M, Float_t l2m, Float_t l2M) ;
69183710 38 virtual void SetRelativeDistanceCut(Float_t CutOnRelativeDistance) ;
39
09fc14a0 40
41 private:
42
43 // cuts on the shower profile
b2a60966 44 Float_t fLambda1m ; // minimum value for first elips axis
45 Float_t fLambda1M ; // maximum value for first elips axis
46 Float_t fLambda2m ; // minimum value for second elips axis
47 Float_t fLambda2M ; // maximum value for second elips axis
09fc14a0 48 Float_t fCutOnDispersion ; // cut on the shower dispersion to distinguish hadronic from EM showers
69183710 49 Float_t fCutOnRelativeDistance; //Cut on the relative distance between PPSD and EMC
6ad0bfa0 50
b2a60966 51 ClassDef( AliPHOSPIDv1,1) // Particle identifier implementation version 1
6ad0bfa0 52
53};
54
26d4b141 55#endif // AliPHOSPIDV1_H