|
ATLAS Offline Software
|
Go to the documentation of this file.
112 if(accTiming.isAvailable(*fe)){
151 if(accHEC0.isAvailable(*fe) && accHEC1.isAvailable(*fe) && accHEC2.isAvailable(*fe) && accHEC3.isAvailable(*fe)){
152 sum_HEC = accHEC0(*fe) + accHEC1(*fe) + accHEC2(*fe) + accHEC3(*fe);
191 if(
jet->numConstituents() == 0 )
return &nullEx;
195 switch(
jet->rawConstituent(0)->type() ) {
225 size_t nConstit =
jet->numConstituents();
226 if( nConstit == 0)
return true;
270 size_t nConstit =
jet->numConstituents();
281 std::vector<JetCaloCalculator*> clonedCalc;
305 if( ! extractor->
valid(
it) )
continue;
308 calc->processConstituent(
it);
JetConstituentVector::iterator iterator
virtual bool processConstituent(xAOD::JetConstituentVector::iterator &)
Perform 1 calculation step using 1 constituent.
flt_t time() const
Access cluster time.
iterator end() const
iterator after the last constituent
bool attribute(PFODetails::PFOAttributes AttributeType, T &anAttribute) const
get a PFO Variable via enum
virtual std::vector< double > process(const xAOD::Jet *jet) const
Perform all tasks correspondings to the associated JetCaloCalculators on Jet jet.
virtual Type::ObjectType type() const =0
The type of the object as a simple enumeration.
xAOD::JetConstituentVector::iterator JetConstitIterator
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Helper class to provide constant type-safe access to aux data.
virtual bool setupJet(const xAOD::Jet *)=0
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
MomentType
Enums to identify different moments.
iterator begin() const
iterator on the first constituent
Description of a calorimeter cluster.
virtual double operator()(const xAOD::Jet *jet, xAOD::JetConstitScale s=xAOD::UncalibratedJetConstituent)
convenience function to perform the full calculation on a given jet
@ eflowRec_LAYERENERGY_HEC
FlowElement_v1 FlowElement
Definition of the current "pfo version".
@ ParticleFlow
The object is a particle-flow object.
const CaloConstitHelpers::CaloConstitExtractor * m_constitExtractor
bool isCharged() const
is a charged PFO
const CaloConstitExtractor * extractorForJet(const xAOD::Jet *jet)
returns a pointer to a CaloConstitExtractor for a given jet.
Class describing a particle flow object.
void addCalculator(JetCaloCalculator *c)
float eSample(const CaloSample sampling) const
bool getClusterMoment(float &theMoment, xAOD::CaloCluster::MomentType momentType) const
Accessor for cluster moments.
bool getClusterMoment(const xAOD::FlowElement &fe, xAOD::CaloCluster::MomentType momentType, float &value)
@ UncalibratedJetConstituent
const xAOD::IParticle * otherObject(std::size_t i) const
virtual double jetCalculation() const
return the result of the calculation
A vector of jet constituents at the scale used during jet finding.
std::vector< JetCaloCalculator * > m_calculators
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
std::vector< const xAOD::IParticle * > otherObjects() const
A detector object made of other lower level object(s)