1 /**************************************************************************
2 * Copyright(c) 1998-2011, ALICE Experiment at CERN, All rights reserved. *
5 * Author: The ALICE Off-line Project. *
6 * Contributors are mentioned in the code where appropriate. *
8 * Permission to use, copy, modify and distribute this software and its *
9 * documentation strictly for non-commercial purposes is hereby granted *
10 * without fee, provided that the above copyright notice appears in all *
11 * copies and that both the copyright notice and this permission notice *
12 * appear in the supporting documentation. The authors make no claims *
13 * about the suitability of this software for any purpose. It is *
14 * provided "as is" without express or implied warranty. *
15 * *************************************************************************/
17 //***********************************************************
19 // class for enabling access to data not available for the moment in AODs
20 // Author: Carlos Perez
21 //***********************************************************
22 #include "AliAODHFUtil.h"
25 ClassImp(AliAODHFUtil)
27 //------------------------------
28 AliAODHFUtil::AliAODHFUtil():
32 for(int i=0; i!=64; ++i)
36 //------------------------------
37 AliAODHFUtil::AliAODHFUtil(const char* pName):
41 for(int i=0; i!=64; ++i)
44 //----------------------
45 AliAODHFUtil::~AliAODHFUtil()
49 //------------------------
50 AliAODHFUtil::AliAODHFUtil(const AliAODHFUtil& pCopy) :
54 for(int i=0; i!=64; ++i)
55 fVZERO[i] = pCopy.fVZERO[i];
57 //----------------------
58 void AliAODHFUtil::SetVZERO(Float_t *pVzero) {
60 for(int i=0; i!=64; ++i)
61 fVZERO[i] = pVzero[i];
63 //---------------------------
64 Float_t AliAODHFUtil::GetVZEROChannel(Int_t pCh) const {