PandaRoot
PndMQTopix4Sampler.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /********************************************************************************
14  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
15  * *
16  * This software is distributed under the terms of the *
17  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
18  * copied verbatim in the file "LICENSE" *
19  ********************************************************************************/
27 #ifndef PNDMQTOPIX4SAMPLER_H_
28 #define PNDMQTOPIX4SAMPLER_H_
29 
30 #include <string>
31 
32 #include "FairMQDevice.h"
34 
35 class PndMQTopix4Sampler : public FairMQDevice {
36  public:
37  enum { FileName = FairMQDevice::Last, Last };
39  virtual ~PndMQTopix4Sampler();
40 
41  static void CustomCleanup(void *data, void *hint);
42 
43  virtual void SetProperty(const int key, const std::string &value);
44  virtual std::string GetProperty(const int key, const std::string &default_ = "");
45  virtual void SetProperty(const int key, const int value);
46  virtual int GetProperty(const int key, const int default_ = 0);
47 
48  virtual void Init();
49 
50  protected:
51  std::string fFileName;
52  int fFE;
54  virtual void Run();
55 };
56 
57 #endif /* FAIRMQEXAMPLE1SAMPLER_H_ */
virtual std::string GetProperty(const int key, const std::string &default_="")
PndMvdReadInToPix4TBData fTopixDataReader
virtual void SetProperty(const int key, const std::string &value)
virtual void Run()
virtual ~PndMQTopix4Sampler()
virtual void Init()
static void CustomCleanup(void *data, void *hint)