]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0hitPhoton.cxx
coverity fix
[u/mrichter/AliRoot.git] / T0 / AliT0hitPhoton.cxx
CommitLineData
dc7ca31d 1/**************************************************************************
2 * Copyright(c) 2001, 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 "AliT0hitPhoton.h"
17
18ClassImp(AliT0hitPhoton)
19//___________________________________________
20AliT0hitPhoton::AliT0hitPhoton(Int_t shunt, Int_t track, Int_t *vol, Float_t *hit)
21 :AliHit(shunt, track)
22{
23// Constructor for object AliT0Cerenkov
24 fArray = vol[0];
25 fPmt = vol[1];
26 fRadius = hit[0];
27 fMomX = hit[1];
28 fMomY = hit[2];
29 fMomZ = hit[3];
30 fTime = hit[4];
31 fEtot = hit[5];
32}