FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairHit.cxx
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #include "FairHit.h"
9 
11  : FairTimeStamp()
12  , fDx(0)
13  , fDy(0)
14  , fDz(0)
15  , fRefIndex(-1)
16  , fDetectorID(-1)
17  , fX(0)
18  , fY(0)
19  , fZ(0)
20 {}
21 
22 FairHit::FairHit(Int_t detID, const TVector3& pos, const TVector3& dpos, Int_t index)
23  : FairTimeStamp()
24  , fDx(dpos.X())
25  , fDy(dpos.Y())
26  , fDz(dpos.Z())
27  , fRefIndex(index)
28  , fDetectorID(detID)
29  , fX(pos.X())
30  , fY(pos.Y())
31  , fZ(pos.Z())
32 {}
33 
35 
ClassImp(FairEventBuilder)
Double_t fZ
Double_t fY
virtual ~FairHit()
Definition: FairHit.cxx:34
Double_t fX
FairHit()
Definition: FairHit.cxx:10