1 /**************************************************************************
2 * Copyright(c) 2004, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 //____________________________________________________________________
20 // Forward Multiplicity Detector have to be reconstructed number of
21 // particles in fixed pseudorapidity interval from fNumOfMinRing
22 // to fNumOfMaxRing and phi interval from fNumOfMinSector to
25 #include "AliFMDParticles.h" // ALIFMDPARTICLES_H
26 #include "Riostream.h" // ROOT_Riostream
28 //____________________________________________________________________
29 ClassImp(AliFMDParticles)
31 //____________________________________________________________________
32 AliFMDParticles::AliFMDParticles()
47 //____________________________________________________________________
48 AliFMDParticles::AliFMDParticles(UShort_t detector, Char_t ring,
49 UShort_t minSector, UShort_t maxSector,
50 UShort_t minStrip, UShort_t maxStrip,
51 Float_t minEta, Float_t maxEta,
52 Float_t minPhi, Float_t maxPhi,
53 Float_t particles, UShort_t method)
54 : fDetector(detector),
56 fMinSector(minSector),
57 fMaxSector(maxSector),
64 fParticles(particles),
73 Warning("AliFMDParticles", "unknown method: %d", method);
79 //____________________________________________________________________
81 AliFMDParticles::Print(Option_t* /* opt*/) const
83 cout << "FMD Reconstructed particles: " << fParticles << "\n"
84 << " Detector: FMD" << fDetector << fRing << "\n"
85 << " Sector range: [" << fMinSector << "," << fMaxSector << "\n"
86 << " Strip range: [" << fMinStrip << "," << fMaxStrip << "\n"
87 << " Eta range: [" << fMinEta << "," << fMaxEta << "\n"
88 << " Phi range: [" << fMinPhi << "," << fMaxPhi << "\n"
89 << " Method: " << flush;
91 case kPoission: cout << "Poission" << endl; break;
92 case kIterative: cout << "Iterative" << endl; break;
93 case kNaive: cout << "Naive" << endl; break;
94 default: cout << "Unknown" << endl; break;
99 //____________________________________________________________________