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 "AliFMDMultRegion.h" // ALIFMDPARTICLES_H
26 #include <TString.h> // ROOT_TString
27 #include <Riostream.h> // ROOT_Riostream
29 //____________________________________________________________________
30 ClassImp(AliFMDMultRegion);
33 //____________________________________________________________________
34 AliFMDMultRegion::AliFMDMultRegion()
47 //____________________________________________________________________
48 AliFMDMultRegion::AliFMDMultRegion(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 : AliFMDMult(particles, method),
57 fMinSector(minSector),
58 fMaxSector(maxSector),
68 //____________________________________________________________________
70 AliFMDMultRegion::Print(Option_t* option) const
75 // D: Detector (default)
78 // E: Eta range (default)
79 // P: Phi range (default)
82 cout << "FMD Reconstructed particles: " << fParticles << endl;
83 if (opt.Contains("D", TString::kIgnoreCase))
84 cout << " Detector: FMD" << fDetector << fRing << endl;
85 if (opt.Contains("S", TString::kIgnoreCase))
86 cout << " Sector range: [" << fMinSector << "," << fMaxSector << endl;
87 if (opt.Contains("T", TString::kIgnoreCase))
88 cout << " Strip range: [" << fMinStrip << "," << fMaxStrip << endl;
89 if (opt.Contains("E", TString::kIgnoreCase))
90 cout << " Eta range: [" << fMinEta << "," << fMaxEta << endl;
91 if (opt.Contains("P", TString::kIgnoreCase))
92 cout << " Phi range: [" << fMinPhi << "," << fMaxPhi << endl;
93 AliFMDMult::Print(option);
97 //____________________________________________________________________