FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PixelEventHeader.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  * PixelEventHeader.h
10  *
11  * Created on: 18.03.2016
12  * Author: R. Karabowicz
13  */
14 
15 #ifndef PIXELEVENTHEADER_H_
16 #define PIXELEVENTHEADER_H_
17 
18 #include "FairEventHeader.h" // for FairEventHeader
19 
20 #include <Rtypes.h>
21 
22 namespace boost {
23 namespace serialization {
24 class access;
25 }
26 } // namespace boost
27 #include <boost/serialization/base_object.hpp>
28 
30 {
31  public:
34 
36  virtual ~PixelEventHeader();
37 
38  void SetPartNo(Int_t ipart) { fPartNo = ipart; }
39  Int_t GetPartNo() { return fPartNo; }
40 
41  template<class Archive>
42  void serialize(Archive& ar, const unsigned int /*version*/)
43  {
44  ar& boost::serialization::base_object<FairEventHeader>(*this);
45  }
46 
47  private:
48  Int_t fPartNo;
49 
51 
52  ClassDef(PixelEventHeader, 1);
53 };
54 
55 #endif /* PIXELEVENTHEADER_H_ */
void SetPartNo(Int_t ipart)
friend class boost::serialization::access
void serialize(Archive &ar, const unsigned int)
virtual ~PixelEventHeader()