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 // FMD reconstructed multiplicity in a strip. It contains the
21 // information of which strip in what sector of what ring, in which
22 // detector the information belongs, as well as the pseudo-rapidity,
23 // and azimuthal angle the strip had in the event. Note, that this
24 // may change when the interaction points z--coordinate changes
25 // (which it probably will - experience from RHIC says so). Also,
26 // the reconstructed energy deposited is stored.
29 #include "AliFMDMultStrip.h" // ALIFMDMULTSTRIP_H
30 #include <TString.h> // ROOT_TString
31 #include <Riostream.h> // ROOT_Riostream
33 //____________________________________________________________________
34 ClassImp(AliFMDMultStrip)
36 ; // This is here to keep Emacs for indenting the next line
40 //____________________________________________________________________
41 AliFMDMultStrip::AliFMDMultStrip()
51 //____________________________________________________________________
52 AliFMDMultStrip::AliFMDMultStrip(UShort_t detector, Char_t ring,
53 UShort_t sector, UShort_t strip,
54 Float_t eta, Float_t phi,
55 Float_t edep, Float_t particles,
57 : AliFMDMult(particles, method),
68 //____________________________________________________________________
70 AliFMDMultStrip::Print(Option_t* option) const
75 // D: Detector (default)
76 // E: Eta range (default)
77 // P: Phi range (default)
80 cout << "FMD Multiplicity in a strip: " << fParticles << endl;
81 if (opt.Contains("D", TString::kIgnoreCase))
82 cout << " Detector: FMD" << fDetector << fRing
83 << "[" << fSector << "," << fStrip << "]" << endl;
84 if (opt.Contains("E", TString::kIgnoreCase))
85 cout << " Eta range: " << fEta << endl;
86 if (opt.Contains("P", TString::kIgnoreCase))
87 cout << " Phi range: " << fPhi << endl;
88 AliFMDMult::Print(option);
92 //____________________________________________________________________