FairRoot/PandaRoot
PndMQTopix4Processor.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 version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
15 #ifndef PndMQTopix4Processor_H_
16 #define PndMQTopix4Processor_H_
17 
18 //#include "FairMQDevice.h"
19 #include "FairMQDevice.h"
21 
22 #include <boost/serialization/access.hpp>
23 #include <boost/serialization/vector.hpp>
24 
25 class PndMQTopix4Processor : public FairMQDevice
26 {
27  public:
28  enum
29  {
30  FE = FairMQDevice::Last,
33  };
34 
36  virtual ~PndMQTopix4Processor();
37 
38  virtual void SetProperty(const int key, const std::string& value);
39  virtual std::string GetProperty(const int key, const std::string& default_ = "");
40  virtual void SetProperty(const int key, const int value);
41  virtual int GetProperty(const int key, const int default_ = 0);
42 
44 
45  template <class Archive>
46  void serialize(Archive& ar, const unsigned int version)
47  {
49  ar& fStatusValues;
50  }
51 
52  protected:
53  virtual void Run();
54  private:
55  #ifndef __CINT__ // for BOOST serialization
57  #endif // for BOOST serialization
58  std::vector<PndSdsDigiTopix4> fPndSdsDigiTopix4Vector;
59  std::vector<int> fStatusValues;
60 
62  int fFE;
64  std::string fTimeCorrStr;
65 
67 };
68 
69 #endif /* FAIRMQEXAMPLE1SINK_H_ */
PndMvdReadInToPix4TBData fTopixDataReader
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
std::vector< int > fStatusValues
virtual std::string GetProperty(const int key, const std::string &default_="")
friend class boost::serialization::access
std::vector< PndSdsDigiTopix4 > fPndSdsDigiTopix4Vector
void serialize(Archive &ar, const unsigned int version)
virtual void SetProperty(const int key, const std::string &value)