FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairMCEntry.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
* FairMCEntry.cpp
10
*
11
* Created on: Dec 22, 2009
12
* Author: stockman
13
*/
14
15
#include "
FairMCEntry.h
"
16
17
ClassImp
(
FairMCEntry
);
18
19
FairMCEntry::FairMCEntry
()
20
:
FairMultiLinkedData
()
21
, fSource(-1)
22
, fPos(-1)
23
{
24
SetPersistanceCheck
(kFALSE);
25
}
26
27
FairMCEntry::~FairMCEntry
() {}
28
29
void
FairMCEntry::RemoveType
(Int_t type)
30
{
31
// std::set<FairLink>::iterator endIter = fLinks.end();
32
std::set<FairLink>::iterator it =
fLinks
.begin();
33
for
(; it !=
fLinks
.end();) {
34
if
(it->GetType() == type) {
35
fLinks
.erase(it);
36
it =
fLinks
.begin();
37
}
else
{
38
++it;
39
}
40
}
41
}
FairMultiLinkedData
Definition:
FairMultiLinkedData.h:28
FairMCEntry.h
FairMCEntry
Definition:
FairMCEntry.h:25
FairMultiLinkedData::SetPersistanceCheck
virtual void SetPersistanceCheck(Bool_t check)
Controls if a persistance check of a link is done or not.
Definition:
FairMultiLinkedData.h:63
FairMultiLinkedData::fLinks
std::set< FairLink > fLinks
Definition:
FairMultiLinkedData.h:135
ClassImp
ClassImp(FairEventBuilder)
FairMCEntry::RemoveType
void RemoveType(Int_t type)
Definition:
FairMCEntry.cxx:29
FairMCEntry::~FairMCEntry
virtual ~FairMCEntry()
Definition:
FairMCEntry.cxx:27
FairMCEntry::FairMCEntry
FairMCEntry()
Definition:
FairMCEntry.cxx:19
FairRoot
datamatch
FairMCEntry.cxx
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5