CbmRoot
Loading...
Searching...
No Matches
CbmKresSelectGoodEvents.h
Go to the documentation of this file.
1/* Copyright (C) 2020-2021 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
5#ifndef CBM_KRES_SELECT_GOOD_EVENTS
6#define CBM_KRES_SELECT_GOOD_EVENTS
7
8
9#include "CbmMCTrack.h"
10
11#include "FairTask.h"
12
13#include <TClonesArray.h>
14
15#include <vector>
16
17class FairMCApplication;
18
19class CbmKresSelectGoodEvents : public FairTask {
20
21public:
22 //***** brief Standard constructor.
24 //***** brief Standard destructor.
26
27
28 virtual InitStatus Init();
29 virtual void Finish();
30
31 virtual void Exec(Option_t*);
32
33private:
34 TClonesArray* fMcTracks;
35 FairMCApplication* fApp;
36 std::vector<CbmMCTrack*> Electrons;
37
38 //***** brief Copy constructor.
40
41 //***** brief Assignment operator.
43
44
45 ClassDef(CbmKresSelectGoodEvents, 1)
46};
47
48#endif
virtual void Exec(Option_t *)
std::vector< CbmMCTrack * > Electrons
CbmKresSelectGoodEvents(const CbmKresSelectGoodEvents &)
CbmKresSelectGoodEvents operator=(const CbmKresSelectGoodEvents &)