FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairEveGeoTracksEditor.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  * FairEveGeoTracksEditor.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 FAIREVEGEOTRACKSEDITOR_H_
17 #define FAIREVEGEOTRACKSEDITOR_H_
18 
19 #include <GuiTypes.h> // for Pixel_t
20 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
21 #include <RtypesCore.h> // for Int_t, UInt_t
22 #include <TGFrame.h> // for kChildFrame
23 #include <TGedFrame.h> // for TGedFrame
24 #include <memory> // for unique_ptr
25 class FairEveBoolCut; // lines 24-24
26 class FairEveGeoTracks; // lines 25-25
27 class FairEveIntCut; // lines 26-26
28 class FairEveMinMaxCut; // lines 27-27
29 class TBuffer;
30 class TClass;
31 class TGWindow;
32 class TMemberInspector;
33 class TObject;
34 
35 
40 class FairEveGeoTracksEditor : public TGedFrame
41 {
42  std::unique_ptr<FairEveMinMaxCut> fPtCut;
43  std::unique_ptr<FairEveMinMaxCut> fEtaCut;
44  std::unique_ptr<FairEveMinMaxCut> fEnergyCut;
45  std::unique_ptr<FairEveBoolCut> fPrimary;
46  std::unique_ptr<FairEveBoolCut> fSecondary;
47  std::unique_ptr<FairEveIntCut> fPdgCut;
48  FairEveGeoTracks* fGeoTracks;
49 
50  public:
51  FairEveGeoTracksEditor(const TGWindow* p = 0,
52  Int_t width = 170,
53  Int_t height = 30,
54  UInt_t options = kChildFrame,
55  Pixel_t back = GetDefaultFrameBackground());
56  virtual void SetModel(TObject* obj);
57  void ToggleTracks();
58  void ToggleGroups();
59  void Repaint();
60  virtual ~FairEveGeoTracksEditor();
61  ClassDef(FairEveGeoTracksEditor, 1)
62 };
63 
64 #endif /* FAIREVEGEOTRACKSEDITOR_H_ */
virtual void SetModel(TObject *obj)
FairEveGeoTracksEditor(const TGWindow *p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())