ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleEvent
ParticleEvent
NeutrinoContainer.h
Go to the documentation of this file.
1
//dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef PARTICLEEVENT_NEUTRINOCONTAINER_H
8
#define PARTICLEEVENT_NEUTRINOCONTAINER_H 1
19
21
22
#include "
AthContainers/DataVector.h
"
23
#include "
AthenaKernel/CLASS_DEF.h
"
24
#include "
ParticleEvent/Neutrino.h
"
25
#include "
EventKernel/IParticle.h
"
26
#include "
NavFourMom/IParticleContainer.h
"
// needed so macros done in correct order
27
28
// Needed for constructing the mirror container hierarchy
29
// This tells StoreGate that DV<Neutrino> derives from DV<IP>
30
DATAVECTOR_BASE
(
Neutrino
,
IParticle
);
31
32
class
NeutrinoContainer
:
public
DataVector
<Neutrino>
33
{
34
public
:
35
NeutrinoContainer
(
SG::OwnershipPolicy
own =
SG::OWN_ELEMENTS
)
36
:
DataVector
<
Neutrino
>(own) {}
37
virtual
~NeutrinoContainer
() {};
38
void
print
();
39
40
};
41
42
CLASS_DEF
(
NeutrinoContainer
, 1215610474, 1)
43
SG_BASE
(
NeutrinoContainer
,
DataVector
<
Neutrino
>);
44
#endif
45
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
DATAVECTOR_BASE
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition
DataVector.h:649
IParticle.h
IParticleContainer.h
Neutrino.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< Neutrino >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
IParticle
Definition
Event/EventKernel/EventKernel/IParticle.h:43
NeutrinoContainer
Definition
NeutrinoContainer.h:33
NeutrinoContainer::NeutrinoContainer
NeutrinoContainer(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
Definition
NeutrinoContainer.h:35
NeutrinoContainer::~NeutrinoContainer
virtual ~NeutrinoContainer()
Definition
NeutrinoContainer.h:37
NeutrinoContainer::print
void print()
NAME: NeutrinoContainer.cxx Package : offline/PhysicsAnalysis/AnalysisCommon/ParticleEvent.
Definition
NeutrinoContainer.cxx:26
Neutrino
Definition
Neutrino.h:33
SG::OwnershipPolicy
OwnershipPolicy
Definition
OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
Generated on
for ATLAS Offline Software by
1.17.0