FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairMCSplitEventHeader.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
********************************************************************************/
10
#ifndef FAIRMCSPLITEVENTHEADER_H
11
#define FAIRMCSPLITEVENTHEADER_H 1
12
13
#include "
FairMCEventHeader.h
"
14
15
#include <Rtypes.h>
16
17
class
FairMCSplitEventHeader
:
public
FairMCEventHeader
18
{
19
public
:
20
FairMCSplitEventHeader
();
21
FairMCSplitEventHeader
(UInt_t runID, UInt_t eventID, UInt_t nofChunks, UInt_t chunkStart);
22
23
virtual
~FairMCSplitEventHeader
();
24
25
void
SetRECC
(UInt_t i1, UInt_t i2, UInt_t i3, UInt_t i4)
26
{
27
SetRunID
(i1);
28
SetEventID
(i2);
29
SetNofChunks
(i3);
30
SetChunkStart
(i4);
31
}
32
void
SetNofChunks
(UInt_t ti) {
fNofChunks
= ti; }
33
void
SetChunkStart
(UInt_t ti) {
fChunkStart
= ti; }
34
35
UInt_t
GetNofChunks
() {
return
fNofChunks
; }
36
UInt_t
GetChunkStart
() {
return
fChunkStart
; }
37
38
virtual
void
Register
();
39
40
protected
:
41
UInt_t
fNofChunks
;
42
UInt_t
fChunkStart
;
43
44
ClassDef
(
FairMCSplitEventHeader
, 1);
45
};
46
47
#endif
/* FAIRMCSPLITEVENTHEADER_H_ */
FairMCSplitEventHeader::SetNofChunks
void SetNofChunks(UInt_t ti)
Definition:
FairMCSplitEventHeader.h:32
FairMCSplitEventHeader::fChunkStart
UInt_t fChunkStart
Definition:
FairMCSplitEventHeader.h:42
FairMCSplitEventHeader::ClassDef
ClassDef(FairMCSplitEventHeader, 1)
FairMCSplitEventHeader::SetChunkStart
void SetChunkStart(UInt_t ti)
Definition:
FairMCSplitEventHeader.h:33
FairMCSplitEventHeader::FairMCSplitEventHeader
FairMCSplitEventHeader()
Definition:
FairMCSplitEventHeader.cxx:13
FairMCEventHeader
Definition:
FairMCEventHeader.h:21
FairMCSplitEventHeader::GetChunkStart
UInt_t GetChunkStart()
Definition:
FairMCSplitEventHeader.h:36
FairMCSplitEventHeader
Definition:
FairMCSplitEventHeader.h:17
FairMCSplitEventHeader::GetNofChunks
UInt_t GetNofChunks()
Definition:
FairMCSplitEventHeader.h:35
FairMCEventHeader::SetRunID
void SetRunID(UInt_t runId)
Definition:
FairMCEventHeader.h:61
FairMCEventHeader.h
FairMCSplitEventHeader::~FairMCSplitEventHeader
virtual ~FairMCSplitEventHeader()
Definition:
FairMCSplitEventHeader.cxx:27
FairMCEventHeader::SetEventID
void SetEventID(UInt_t eventId)
Definition:
FairMCEventHeader.h:60
FairMCSplitEventHeader::fNofChunks
UInt_t fNofChunks
Definition:
FairMCSplitEventHeader.h:41
FairMCSplitEventHeader::SetRECC
void SetRECC(UInt_t i1, UInt_t i2, UInt_t i3, UInt_t i4)
Definition:
FairMCSplitEventHeader.h:25
FairMCSplitEventHeader::Register
virtual void Register()
Definition:
FairMCSplitEventHeader.cxx:29
FairRoot
examples
MQ
pixelSimSplit
src
FairMCSplitEventHeader.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5