]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/vertexingHF/AliAODHFUtil.cxx
Speed up
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliAODHFUtil.cxx
CommitLineData
4569a83a 1/**************************************************************************
2 * Copyright(c) 1998-2011, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * *
5 * Author: The ALICE Off-line Project. *
6 * Contributors are mentioned in the code where appropriate. *
7 *
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 * *************************************************************************/
16
17//***********************************************************
18// Class AliAODHFUtil
19// class for enabling access to data not available for the moment in AODs
20// Author: Carlos Perez
21//***********************************************************
22#include "AliAODHFUtil.h"
23
24
25ClassImp(AliAODHFUtil)
26
27//------------------------------
28AliAODHFUtil::AliAODHFUtil():
29 TNamed()
30{
31 // default ctor
32 for(int i=0; i!=64; ++i)
33 fVZERO[i] = 0.0;
34}
35
36//------------------------------
37AliAODHFUtil::AliAODHFUtil(const char* pName):
38 TNamed(pName, "")
39{
40 // standard ctor
41 for(int i=0; i!=64; ++i)
42 fVZERO[i] = 0.0;
43}
44//----------------------
45AliAODHFUtil::~AliAODHFUtil()
46{
47 // default dtor
48}
49//------------------------
50AliAODHFUtil::AliAODHFUtil(const AliAODHFUtil& pCopy) :
51 TNamed(pCopy)
52{
53 // copy ctor
54 for(int i=0; i!=64; ++i)
55 fVZERO[i] = pCopy.fVZERO[i];
56}
57//----------------------
58void AliAODHFUtil::SetVZERO(Float_t *pVzero) {
59 // set VZERO channel
60 for(int i=0; i!=64; ++i)
61 fVZERO[i] = pVzero[i];
62}
63//---------------------------
64Float_t AliAODHFUtil::GetVZEROChannel(Int_t pCh) const {
65 // get VZERO channel
66 return fVZERO[pCh];
67}
68