]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/AliRICHCluster.cxx
Hit Digit Cluster in separate files to follow rules
[u/mrichter/AliRoot.git] / RICH / AliRICHCluster.cxx
CommitLineData
0fe8fa07 1// **************************************************************************
2// * Copyright(c) 1998-1999, 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#include "AliRICHCluster.h"
17#include <AliLog.h>
18
19
20ClassImp(AliRICHCluster)
21//__________________________________________________________________________________________________
22void AliRICHCluster::Print(Option_t*)const
23{
24//Print current cluster
25 const char *status=0;
26 switch(fStatus){
27 case kRaw: status="raw" ;break;
28 case kResolved: status="resolved";break;
29 case kEmpty: status="empty" ;break;
30 }
31 if(fDigits)
32 ::Info("cluster","cfm=%10i, cs=%2i, SiMa=%6i, Shape=%5i, x=%7.3f, y=%7.3f, Q=%6i, %s with %i digits",
33 fCFM,fChamber,fSize,fShape,fX,fY,fQdc,status,fDigits->GetEntriesFast());
34 else
35 AliInfo(Form("cfm=%10i, cs=%2i, SiMa=%6i, Shape=%5i, x=%7.3f, y=%7.3f, Q=%6i, %s with %i digits",
36 fCFM,fChamber,fSize,fShape,fX,fY,fQdc,status,0));
37
38}//Print()
39//__________________________________________________________________________________________________