FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTutorialDet2CustomTask.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 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 // ----- Header for the FairTutorialDet2Digizier ------
10 // ----- Created 25.09.17 by S.Wenzel ------
11 // --------------------------------------------------------------------------
12 
13 #ifndef FAIRTUTORIALDET2CUSTOMTASK_H
14 #define FAIRTUTORIALDET2CUSTOMTASK_H
15 
16 #include "FairTask.h"
17 
18 #include <Rtypes.h>
19 #include <vector>
20 
21 class CustomClass;
22 
24 {
25  public:
28 
30  FairTutorialDet2CustomTask(const char* name, const char* title = "FAIR Task");
31 
34 
36  virtual InitStatus Init();
37 
39  virtual void Exec(Option_t* option);
40 
41  private:
42  // This task just has input data to be retrieved with InitObjectAs function
43  // note that we are forced to put const on data that we are consuming
44  std::vector<CustomClass> const* fCustomData = nullptr;
45  std::vector<CustomClass> const* fCustomData2 = nullptr;
46  ClassDef(FairTutorialDet2CustomTask, 1);
47 };
48 #endif // FAIRTUTORIALDETCUSTOMTASK_H
virtual void Exec(Option_t *option)
InitStatus
Definition: FairTask.h:33