|
ATLAS Offline Software
|
Go to the documentation of this file.
24 #include "CaloEvent/CaloCluster.h"
25 #include "CaloEvent/CaloClusterContainer.h"
45 m_passedEOverPCheck (true),
46 m_eflowObjectType (ChargedPion),
144 const std::any& aRelation)
const
160 try {
weight = std::any_cast<double>(aRelation); }
161 catch(...) {
return; }
205 weightedToken ==
nullptr
210 bool isHonored = weightedToken !=
nullptr || simpleToken !=
nullptr;
232 c->fillToken(thisToken,
weight);
239 if ( weightedToken !=
nullptr )
242 toToken< cluster_type, NavigationToken<CaloCluster,double> >
243 (theClusters,weightedToken,
weight);
245 else if (simpleToken !=
nullptr)
248 toToken< cluster_type, NavigationToken<CaloCluster> >
249 (theClusters,simpleToken);
262 weightedToken ==
nullptr
265 bool isHonored = weightedToken !=
nullptr || simpleToken !=
nullptr;
269 if ( weightedToken !=
nullptr )
271 this->toToken< eflowTrack_type, NavigationToken<Rec::TrackParticle,double> >
276 this->toToken< eflowTrack_type, NavigationToken<Rec::TrackParticle> >
292 weightedToken ==
nullptr
296 bool isHonored = weightedToken !=
nullptr || simpleToken !=
nullptr;
300 if ( weightedToken !=
nullptr )
321 weightedToken ==
nullptr
325 bool isHonored = weightedToken !=
nullptr || simpleToken !=
nullptr;
329 if ( weightedToken !=
nullptr )
342 template <
typename CONT,
typename TOKEN>
348 for (
const auto*
p : theData)
354 template <
typename CONT,
typename TOKEN>
357 TOKEN* theToken)
const
359 for (
const auto*
p : theData)
361 theToken->setObject(
p);
unsigned int size() const
bool navigateMuons(INavigationToken &aToken, double weight) const
Scalar phi() const
phi method
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Scalar eta() const
pseudorapidity method
Storable container for CaloCluster.
const ElementLink< VxContainer > & conversionLink() const
virtual double p() const =0
momentum magnitude
void addConversion(const ElementLink< VxContainer > &convElementLink)
CaloRecoStatus getCaloRecoStatus() const
void addClus(const ElementLink< CaloClusterContainer > &clusElementLink)
bool isValid() const
Test to see if the link can be dereferenced.
bool navigateConversions(INavigationToken &aToken, double weight) const
const Analysis::Muon * muon() const
void initialize(eflowObject *eflowObj, bool useClus)
CaloRecoStatus m_recoStatus
Principal data class for CaloCell clusters.
void toToken(const CONT &theClusters, TOKEN *aToken, double weight) const
void addTrack(const ElementLink< Rec::TrackParticleContainer > &trackElementLink)
The ATLAS Muon object - see doxygen, physics workbookd and the Muon Combined Performance WG's pages f...
void setObject(const_child_ptr data)
ParticleType m_eflowObjectType
std::vector< CaloClusterContainer * > m_eflowClusContainers
value_type push_back(value_type pElem)
Add an element to the end of the collection.
eflowTrack_type m_eflowTrack
void addElement(const CONT *aContainer, const OBJCT *anObject)
ElementLink< Analysis::MuonContainer > m_muonElementLink
bool getIsSubtracted() const
const ElementLink< Analysis::MuonContainer > & muonLink() const
double getCenterMag() const
bool getPassEOverPCheck() const
bool navigateTrackParticles(INavigationToken &aToken, double weight) const
ElementLink< VxContainer > m_convElementLink
void navigateClusters(const cluster_type &theClusters, INavigationToken &aToken, double weight) const
bool checkParticleType(ParticleType particleType) const
const CaloCluster * clus(size_t i) const
eflowClus_type m_eflowClus
virtual void fillToken(INavigationToken &thisToken) const
void addMuon(const ElementLink< Analysis::MuonContainer > &muonElementLink)
bool getIsDuplicated() const