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.cxx
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
#include "
FairMCSplitEventHeader.h
"
10
11
#include "
FairRootManager.h
"
12
13
FairMCSplitEventHeader::FairMCSplitEventHeader
()
14
:
FairMCEventHeader
()
15
, fNofChunks(1)
16
, fChunkStart(0)
17
{}
18
19
FairMCSplitEventHeader::FairMCSplitEventHeader
(UInt_t runID, UInt_t eventID, UInt_t nofChunks, UInt_t chunkStart)
20
:
FairMCEventHeader
(runID)
21
, fNofChunks(nofChunks)
22
, fChunkStart(chunkStart)
23
{
24
SetEventID
(eventID);
25
}
26
27
FairMCSplitEventHeader::~FairMCSplitEventHeader
() {}
28
29
void
FairMCSplitEventHeader::Register
()
30
{
31
// Dot at the end of the name is needed for splitting!!
32
FairRootManager::Instance
()->
Register
(
"MCEventHeader."
,
"Event"
,
this
, kTRUE);
33
}
34
35
ClassImp
(
FairMCSplitEventHeader
);
FairRootManager.h
FairMCSplitEventHeader.h
FairRootManager::Instance
static FairRootManager * Instance()
Definition:
FairRootManager.cxx:69
ClassImp
ClassImp(FairEventBuilder)
FairMCSplitEventHeader::FairMCSplitEventHeader
FairMCSplitEventHeader()
Definition:
FairMCSplitEventHeader.cxx:13
FairMCEventHeader
Definition:
FairMCEventHeader.h:21
FairMCSplitEventHeader
Definition:
FairMCSplitEventHeader.h:17
FairRootManager::Register
void Register(const char *name, const char *Foldername, TNamed *obj, Bool_t toFile)
Definition:
FairRootManager.cxx:222
FairMCSplitEventHeader::~FairMCSplitEventHeader
virtual ~FairMCSplitEventHeader()
Definition:
FairMCSplitEventHeader.cxx:27
FairMCEventHeader::SetEventID
void SetEventID(UInt_t eventId)
Definition:
FairMCEventHeader.h:60
FairMCSplitEventHeader::Register
virtual void Register()
Definition:
FairMCSplitEventHeader.cxx:29
FairRoot
examples
MQ
pixelSimSplit
src
FairMCSplitEventHeader.cxx
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5