FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MyHit.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 
9 /*
10  * File: MyHit.cxx
11  * Author: winckler
12  *
13  * Created on November 24, 2014, 1:40 PM
14  */
15 
16 #include "MyHit.h"
17 
19  : FairHit()
20 {}
21 
22 MyHit::MyHit(Int_t detID, Int_t mcindex, const TVector3& pos, const TVector3& dpos)
23  : FairHit(detID, pos, dpos, mcindex)
24 {}
25 
26 MyHit::MyHit(Int_t detID,
27  Int_t mcindex,
28  const TVector3& pos,
29  const TVector3& dpos,
30  Double_t timeStamp,
31  Double_t timeStampError)
32  : FairHit(detID, pos, dpos, mcindex) //
33 {
34  SetTimeStamp(timeStamp);
35  SetTimeStampError(timeStampError);
36 }
37 
39 
ClassImp(FairEventBuilder)
Definition: MyHit.h:32
MyHit()
Definition: MyHit.cxx:18
void SetTimeStamp(Double_t t)
Definition: FairTimeStamp.h:47
virtual ~MyHit()
Definition: MyHit.cxx:38
void SetTimeStampError(Double_t t)
Definition: FairTimeStamp.h:48