FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairEveRecoTrack.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2020 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  * FairEveRecoTrack.h
10  *
11  * Created on: 23 kwi 2020
12  * Author: Daniel Wielanek
13  * E-mail: daniel.wielanek@gmail.com
14  * Warsaw University of Technology, Faculty of Physics
15  */
16 #ifndef FAIREVERECOTRACK_H_
17 #define FAIREVERECOTRACK_H_
18 
19 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
20 #include <RtypesCore.h> // for Int_t, Color_t
21 #include <TEveCompound.h> // for TEveCompound
22 #include <TVector3.h> // for TVector3
23 class FairEveTrack; // lines 22-22
24 class TBuffer;
25 class TClass;
26 class TEvePointSet; // lines 23-23
27 class TEveTrackPropagator; // lines 24-24
28 class TGeoTrack; // lines 25-25
29 class TMemberInspector;
30 class TParticle; // lines 26-26
31 
32 class FairEveRecoTrack : public TEveCompound
33 {
34  TEvePointSet *fHits;
35  Int_t fNPoints;
36  FairEveTrack *fRecoTrack;
37  FairEveTrack *fMCTrack;
38 
39  public:
41  FairEveRecoTrack(TParticle *t, Int_t label, TEveTrackPropagator *prop = nullptr);
42  FairEveTrack *GetRecoTrack() const { return fRecoTrack; };
43  FairEveTrack *GetMCTrack() const { return fMCTrack; }
44  TEvePointSet *GetHits() const { return fHits; };
45  void AddHit(TVector3 hit);
50  void MakeMCTrack(const TGeoTrack *geo);
52  void InitMCTrack(const TParticle *p);
53  void SetMainColor(Color_t color);
54  virtual ~FairEveRecoTrack();
56 };
57 
58 #endif /* FAIREVERECOTRACK_H_ */
TEvePointSet * GetHits() const
FairEveTrack * GetMCTrack() const
FairEveTrack * GetRecoTrack() const
void MakeMCTrack(const TGeoTrack *geo)
void AddHit(TVector3 hit)
void SetMainColor(Color_t color)
ClassDef(FairEveRecoTrack, 0)
void InitMCTrack(const TParticle *p)