|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JETEVENT_JETCOLLECTION_H
6 #define JETEVENT_JETCOLLECTION_H
14 #include "AthLinks/DataLink.h"
78 template <
class InputIterator>
97 std::string
author()
const;
107 #if !defined(__REFLEX__) && !defined(__CLING__)
160 for(;
it != last; ++
it) acquireJet(*
it);
SG_BASE(JetCollection, DataVector< Jet >)
JetKeyDescriptorInstance * keyDesc() const
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
JetCollection(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
const fastjet::ClusterSequence * m_fastjetClustSeq
Pointer to the fastjet object this jet is build from.
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
DataLink< JetKeyDescriptor > m_keyStore
link to the JetKeyDescriptor is mandatory for persistency. Access done through the JetKeyDescriptorIn...
std::string getMomentMapName() const
void resetJetId(std::size_t)
fastjet::ClusterSequence ClusterSequence
@ OWN_ELEMENTS
this data object owns its elements
JetKeyDescriptorInstance m_keyDescInstance
This JetKeyDescriptorInstance points by default to the global JetKeyDescriptorInstance's store....
size_t m_nextId
the next free identifier for jets inside this collection
size_t m_jetAuthor
the author of this jetcollection.
JetCollection::OrderedVar ordered() const
iterator insert(iterator position, value_type pElem)
Add a new element to the collection.
bool isOrdered(JetCollection::OrderedVar ordering=JetCollection::ByEtDown) const
DataLink< JetMomentMap > m_momentMapLink
DATAVECTOR_BASE(Jet, IParticle)
void setAuthor(const std::string &author)
void setFastjetClustSeq(const fastjet::ClusterSequence *cs)
std::string author() const
bool m_ownMap
false if the map is recorded in SG
const JetMomentMap * getMomentMap() const
An STL vector of pointers that by default owns its pointed-to elements.
iterator insert(iterator position, Jet *j)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
void setOrdered(JetCollection::OrderedVar ordered)
DataVector< Jet >::iterator iterator
const fastjet::ClusterSequence * fastjetClustSeq() const
Access to the internal fastjet object. CAN RETURN NULL, see the description of m_pseudoJet.
macros to associate a CLID to a type
void recordedInSG(std::string key)