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