ATLAS Offline Software
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
9 
21 
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>
31 
32 class NeutrinoContainer : public DataVector<Neutrino>
33 {
34  public:
36  : DataVector<Neutrino>(own) {}
37  virtual ~NeutrinoContainer() {};
38  void print();
39 
40 };
41 
42 CLASS_DEF(NeutrinoContainer, 1215610474, 1)
44 #endif
45 
NeutrinoContainer::~NeutrinoContainer
virtual ~NeutrinoContainer()
Definition: NeutrinoContainer.h:37
SG_BASE
SG_BASE(NeutrinoContainer, DataVector< Neutrino >)
IParticle.h
DATAVECTOR_BASE
DATAVECTOR_BASE(Neutrino, IParticle)
NAME: NeutrinoContainer.h Package : offline/PhysicsAnlaysis/AnalysisCommon/ParticleEvent.
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
NeutrinoContainer
Definition: NeutrinoContainer.h:33
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
NeutrinoContainer::NeutrinoContainer
NeutrinoContainer(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
Definition: NeutrinoContainer.h:35
NeutrinoContainer::print
void print()
NAME: NeutrinoContainer.cxx Package : offline/PhysicsAnalysis/AnalysisCommon/ParticleEvent.
Definition: NeutrinoContainer.cxx:26
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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:64
IParticleContainer.h
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
Neutrino
Definition: Neutrino.h:33
CLASS_DEF.h
macros to associate a CLID to a type
Neutrino.h