]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDMultStrip.cxx
Commenting out unused variables (FedoraCore3, gcc 3.4.2)
[u/mrichter/AliRoot.git] / FMD / AliFMDMultStrip.cxx
CommitLineData
56b1929b 1/**************************************************************************
2 * Copyright(c) 2004, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16/* $Id$ */
17
18//____________________________________________________________________
19//
7684b53c 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.
27//
56b1929b 28//
29#include "AliFMDMultStrip.h" // ALIFMDMULTSTRIP_H
30#include <TString.h> // ROOT_TString
31#include <Riostream.h> // ROOT_Riostream
32
33//____________________________________________________________________
34ClassImp(AliFMDMultStrip);
35
36
37//____________________________________________________________________
38AliFMDMultStrip::AliFMDMultStrip()
39 : fDetector(0),
40 fRing('\0'),
41 fSector(0),
42 fStrip(0),
43 fEta(0),
44 fPhi(0),
45 fEdep(0)
46{}
47
48//____________________________________________________________________
49AliFMDMultStrip::AliFMDMultStrip(UShort_t detector, Char_t ring,
50 UShort_t sector, UShort_t strip,
51 Float_t eta, Float_t phi,
52 Float_t edep, Float_t particles,
53 UShort_t method)
54 : AliFMDMult(particles, method),
55 fDetector(detector),
56 fRing(ring),
57 fSector(sector),
58 fStrip(strip),
59 fEta(eta),
60 fPhi(phi),
61 fEdep(edep)
62{}
63
64
65//____________________________________________________________________
66void
67AliFMDMultStrip::Print(Option_t* option) const
68{
69 // Print information
70 //
71 // Options:
72 // D: Detector (default)
73 // E: Eta range (default)
74 // P: Phi range (default)
75 //
76 TString opt(option);
7684b53c 77 cout << "FMD Multiplicity in a strip: " << fParticles << endl;
56b1929b 78 if (opt.Contains("D", TString::kIgnoreCase))
79 cout << " Detector: FMD" << fDetector << fRing
80 << "[" << fSector << "," << fStrip << "]" << endl;
81 if (opt.Contains("E", TString::kIgnoreCase))
82 cout << " Eta range: " << fEta << endl;
83 if (opt.Contains("P", TString::kIgnoreCase))
84 cout << " Phi range: " << fPhi << endl;
85 AliFMDMult::Print(option);
86}
87
88
89//____________________________________________________________________
90//
91// EOF
92//