FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
29
class
PixelEventHeader
:
public
FairEventHeader
30
{
31
public
:
33
PixelEventHeader
();
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
50
friend
class
boost::serialization::access
;
51
52
ClassDef(
PixelEventHeader
, 1);
53
};
54
55
#endif
/* PIXELEVENTHEADER_H_ */
PixelEventHeader::PixelEventHeader
PixelEventHeader()
Definition:
PixelEventHeader.cxx:17
PixelEventHeader::GetPartNo
Int_t GetPartNo()
Definition:
PixelEventHeader.h:39
PixelEventHeader::SetPartNo
void SetPartNo(Int_t ipart)
Definition:
PixelEventHeader.h:38
PixelEventHeader::access
friend class boost::serialization::access
Definition:
PixelEventHeader.h:50
FairEventHeader
Definition:
FairEventHeader.h:24
PixelEventHeader
Definition:
PixelEventHeader.h:29
FairEventHeader.h
PixelEventHeader::serialize
void serialize(Archive &ar, const unsigned int)
Definition:
PixelEventHeader.h:42
PixelEventHeader::~PixelEventHeader
virtual ~PixelEventHeader()
Definition:
PixelEventHeader.cxx:22
FairRoot
examples
MQ
pixelDetector
src
PixelEventHeader.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5