FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMCTracksDraw.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  * FairMCTracksDraw.h
10  *
11  * Created on: 27 sie 2020
12  * Author: Daniel Wielanek
13  * E-mail: daniel.wielanek@gmail.com
14  * Warsaw University of Technology, Faculty of Physics
15  */
16 #ifndef FAIRMCTRACKSDRAW_H_
17 #define FAIRMCTRACKSDRAW_H_
18 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
19 #include <RtypesCore.h> // for Bool_t, Int_t, Option_t
20 #include "FairTask.h" // for FairTask, InitStatus
21 class FairEveMCTracks; // lines 21-21
22 class FairEventManager; // lines 22-22
23 class FairMCTrack; // lines 23-23
24 class TBuffer;
25 class TClass;
26 class TEveTrackList; // lines 24-24
27 class TMemberInspector;
28 
29 class FairMCTracksDraw : public FairTask
30 {
31  FairEventManager *fEventManager;
32  FairEveMCTracks *fVisualizer;
33 
34  protected:
35  Bool_t CheckCuts(FairMCTrack *tr);
36  void DrawTrack(Int_t id);
37  TEveTrackList *GetTrackGroup(void *tr);
38 
39  public:
40  FairMCTracksDraw(const char *name = "MC tracks");
41  virtual void Exec(Option_t *opt = "");
42  virtual InitStatus Init();
43  virtual ~FairMCTracksDraw();
44  ClassDef(FairMCTracksDraw, 0)
45 };
46 
47 #endif /* FAIRMCTRACKSDRAW_H_ */
Bool_t CheckCuts(FairMCTrack *tr)
virtual void Exec(Option_t *opt="")
InitStatus
Definition: FairTask.h:33
virtual InitStatus Init()
FairMCTracksDraw(const char *name="MC tracks")
virtual ~FairMCTracksDraw()
void DrawTrack(Int_t id)
TEveTrackList * GetTrackGroup(void *tr)