FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairHitDraw.h
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  * FairHitDraw.h
10  *
11  * Created on: Apr 16, 2009
12  * Author: stockman
13  *
14  * Simple method to draw points derived from FairHit
15  */
16 
17 #ifndef FAIRHITDRAW_H_
18 #define FAIRHITDRAW_H_
19 
20 #include "FairBoxSetDraw.h" // for FairBoxSetDraw
21 
22 #include <Rtypes.h> // for FairHitDraw::Class, etc
23 #include <TVector3.h> // for TVector3
24 
25 class TObject;
26 
28 {
29  public:
30  FairHitDraw();
31 
37  FairHitDraw(const char* name, FairDataSourceI* dataSource, Int_t iVerbose = 1);
38 
44  FairHitDraw(const char* name, Int_t iVerbose = 1);
45 
46  protected:
47  TVector3 GetVector(TObject* obj);
48  double GetTime(TObject* obj);
49 
51 };
52 
53 #endif /* FAIRHITDRAW_H_ */
double GetTime(TObject *obj)
Abstract interface class to handle different input data for event and timebased data.
TVector3 GetVector(TObject *obj)
Definition: FairHitDraw.cxx:31
ClassDef(FairHitDraw, 1)