PandaRoot
PndMQTopix4ProcessorTask.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 PNDMQTOPIX4PROCESSORTASK_H_
16 #define PNDMQTOPIX4PROCESSORTASK_H_
17 
18 //#include "FairMQDevice.h"
19 #include "FairMQProcessorTask.h"
21 #include "PndTopix4.h"
22 
23 #include <boost/serialization/access.hpp>
24 #include <boost/serialization/vector.hpp>
25 
26 class PndMQTopix4ProcessorTask : public FairMQProcessorTask {
27  public:
29  virtual ~PndMQTopix4ProcessorTask();
30 
31  virtual InitStatus Init() { return kSUCCESS; };
32 
33  virtual void Exec(Option_t *opt = "0");
34 
35  template <class Archive>
36  void serialize(Archive &ar, const unsigned int version)
37  {
38  ar &fPndSdsDigiTopix4Vector;
39  }
40 
41  private:
42 #ifndef __CINT__ // for BOOST serialization
44 #endif // for BOOST serialization
45  std::vector<PndSdsDigiTopix4> fPndSdsDigiTopix4Vector;
46 
47  bool fHasBoostSerialization;
48 
49  PndMvdReadInToPix4TBData fTopixDataReader;
50 };
51 
52 #endif /* FAIRMQEXAMPLE1SINK_H_ */
virtual ~PndMQTopix4ProcessorTask()
void serialize(Archive &ar, const unsigned int version)
virtual void Exec(Option_t *opt="0")
friend class boost::serialization::access