  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
    6 #ifndef PARTICLE_JET_LABEL_COMMON_H 
    7 #define PARTICLE_JET_LABEL_COMMON_H 
   65                     const std::string& linkName);
 
   67                   const std::vector<const xAOD::TruthParticle*>&) 
const;
 
   69     using IPLV = std::vector<ElementLink<xAOD::IParticleContainer>>;
 
   74     std::vector<const xAOD::TruthParticle*> 
b;
 
   75     std::vector<const xAOD::TruthParticle*> 
c;
 
   76     std::vector<const xAOD::TruthParticle*> 
tau;
 
  104   ( 
const std::vector<const xAOD::TruthParticle*>& 
parents 
  105     , std::vector<const xAOD::TruthParticle*>& 
children 
  110     tool.declareProperty(
"LabelName", 
n->singleint=
"", 
"Jet label attribute to be added.");
 
  111     tool.declareProperty(
"DoubleLabelName", 
n->doubleint=
"", 
"Jet label attribute to be added (with the possibility of up to 2 matched hadrons).");
 
  112     tool.declareProperty(
"LabelPtName", 
n->pt=
"", 
"Attribute for labelling particle pt");
 
  113     tool.declareProperty(
"LabelLxyName", 
n->Lxy=
"", 
"Attribute for Lxy of labelling particle");
 
  114     tool.declareProperty(
"LabelDRName", 
n->dr=
"", 
"Attribute for dR(part, jet) for labelling particle");
 
  115     tool.declareProperty(
"LabelPdgIdName", 
n->pdgId=
"", 
"Attribute for pdgID of labelling particle");
 
  116     tool.declareProperty(
"LabelPositionDPhiName", 
n->positionDPhi=
"", 
"Attribute for the position dPhi of the labeling particle ");
 
  117     tool.declareProperty(
"LabelPositionDEtaName", 
n->positionDEta=
"", 
"Attribute for the position dEta of the labeling particle ");
 
  118     tool.declareProperty(
"LabelBarcodeName", 
n->uniqueID=
"", 
"Attribute for uniqueID of labeling particle");
 
  119     tool.declareProperty(
"ChildLxyName", 
n->childLxy=
"", 
"Attribute for the labeling particle child Lxy");
 
  120     tool.declareProperty(
"ChildPtName", 
n->childPt=
"", 
"Attribute for the labeling particle child Pt");
 
  121     tool.declareProperty(
"ChildPdgIdName", 
n->childPdgId=
"", 
"Attribute for the labeling particle child pdg ID");
 
  122     tool.declareProperty(
"ChildPositionDPhiName", 
n->childPositionDPhi=
"", 
"Attribute for the position dPhi of the labeling particle child");
 
  123     tool.declareProperty(
"ChildPositionDEtaName", 
n->childPositionDEta=
"", 
"Attribute for the position dEta of the labeling particle child");
 
  125     tool.declareProperty(
"useBarcode", 
n->useBarcode=
false, 
"use barcode instead of uid");
 
  
SG::AuxElement::Decorator< float > childLxy
 
LabelDecorators(const LabelNames &)
 
parents
print ("==> buf:",buf)
 
std::string childPositionDEta
 
void declareProperties(T &tool, LabelNames *n)
 
float partDR(const xAOD::TruthParticle *part, const xAOD::Jet &jet)
 
float positionDEta(const xAOD::TruthParticle *part, const xAOD::Jet &jet, const Amg::Vector3D &origin)
 
SG::AuxElement::Decorator< float > Lxy
 
SG::AuxElement::Decorator< int > uniqueID
 
Amg::Vector3D p3(const xAOD::TruthVertex *p)
 
SG::AuxElement::Decorator< int > doubleint
 
SG::AuxElement::Decorator< IPLV > m_dec
 
std::vector< const xAOD::TruthParticle * > c
 
SG::ConstAccessor< int > acc_uid
 
Helper class to provide type-safe access to aux data.
 
std::vector< const xAOD::TruthParticle * > tau
 
std::vector< const xAOD::TruthParticle * > b
 
Class describing a truth particle in the MC record.
 
void childrenRemoved(const std::vector< const xAOD::TruthParticle * > &parents, std::vector< const xAOD::TruthParticle * > &children)
 
SG::AuxElement::Decorator< float > pt
 
float partPt(const xAOD::TruthParticle *part)
 
Class describing a truth vertex in the MC record.
 
SG::AuxElement::Decorator< int > pdgId
 
SG::AuxElement::Decorator< int > childPdgId
 
std::string childPositionDPhi
 
IParticleLinker(const SG::ReadHandleKey< xAOD::TruthParticleContainer > &, const std::string &linkName)
 
SG::AuxElement::Decorator< float > childPt
 
Eigen::Matrix< double, 3, 1 > Vector3D
 
SG::AuxElement::Decorator< float > positionDEta
 
Amg::Vector3D signalProcessP3(const xAOD::TruthEventContainer &)
 
float positionDPhi(const xAOD::TruthParticle *part, const xAOD::Jet &jet, const Amg::Vector3D &origin)
 
void setJetLabels(const xAOD::Jet &jet, const Particles &particles, const LabelNames &names)
 
float partLxy(const xAOD::TruthParticle *part, const Amg::Vector3D &origin)
 
int partPdgId(const xAOD::TruthParticle *part)
 
SG::AuxElement::Decorator< float > childPositionDEta
 
SG::AuxElement::Decorator< float > positionDPhi
 
void decorate(const xAOD::Jet &, const std::vector< const xAOD::TruthParticle * > &) const
 
SG::AuxElement::Decorator< float > childPositionDPhi
 
SG::AuxElement::Decorator< int > singleint
 
SG::AuxElement::Decorator< float > dr
 
std::vector< ElementLink< xAOD::IParticleContainer > > IPLV