FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairEveRecoTracksExampleEditor.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  * FairEveRecoTracksExampleEditor.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 FAIREVERECOTRACKSEXAMPLEEDITOR_H_
17 #define FAIREVERECOTRACKSEXAMPLEEDITOR_H_
18 
19 #include <TGFrame.h>
20 #include <TGedFrame.h>
21 #include <memory>
22 
23 class FairEveBoolCut;
24 class FairEveMinMaxCut;
26 
27 class FairEveRecoTracksExampleEditor : public TGedFrame
28 {
29  std::unique_ptr<FairEveMinMaxCut> fPtCut;
30  std::unique_ptr<FairEveMinMaxCut> fEtaCut;
31  std::unique_ptr<FairEveMinMaxCut> fEnergyCut;
32  FairEveRecoTracksExample *fRecoTracks;
33  std::unique_ptr<FairEveBoolCut> fDrawMC;
34 
35  public:
36  FairEveRecoTracksExampleEditor(const TGWindow *p = 0,
37  Int_t width = 170,
38  Int_t height = 30,
39  UInt_t options = kChildFrame,
40  Pixel_t back = GetDefaultFrameBackground());
41  virtual void SetModel(TObject *obj);
42  void ToggleTracks();
43  void Repaint();
46 };
47 #endif /* FAIREVERECOTRACKSEXAMPLEEDITOR_H_ */
FairEveRecoTracksExampleEditor(const TGWindow *p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
ClassDef(FairEveRecoTracksExampleEditor, 0)