#include <MuonSegmentExtractor.h>
Definition at line 17 of file MuonSegmentExtractor.h.
◆ MuonSegmentExtractor()
◆ ~MuonSegmentExtractor()
| MuonSegmentExtractor::~MuonSegmentExtractor |
( |
| ) |
|
|
virtualdefault |
◆ addToJet()
| void MuonSegmentExtractor::addToJet |
( |
xAOD::Jet & | jet, |
|
|
const std::vector< int > & | indices ) const |
|
overridevirtual |
Implements IConstituentExtractor.
Definition at line 28 of file MuonSegmentExtractor.cxx.
29 {
30
31 std::vector<const xAOD::MuonSegment*> constituents;
32 constituents.reserve(
indices.size());
34
35
36
39}
void setAttribute(const std::string &name, const T &v)
void setAssociatedObjects(const std::string &name, const std::vector< const T * > &vec)
set associated objects from a vector of arbitrary object.
std::pair< long int, long int > indices
◆ checkIntegrity()
| bool MuonSegmentExtractor::checkIntegrity |
( |
| ) |
const |
|
overridevirtual |
◆ clone()
◆ ghostClone()
◆ toString()
| std::string MuonSegmentExtractor::toString |
( |
int | level | ) |
const |
|
overridevirtual |
Implements IConstituentExtractor.
Definition at line 42 of file MuonSegmentExtractor.cxx.
42 {
43 std::ostringstream oss{"", std::ios::ate};
44 oss <<
"MuonSegmentExtractor dump level(" <<
level <<
")"
46 << " isGhost " << std::boolalpha << true
48
49 if (level > 0){
50 oss << "\n MuonSegment momenta\n";
54 oss << p->px() << " " << p->py() << " " << p->pz() << '\n';});
55 }
56
57 return oss.str();
58}
MuonSegment_v1 MuonSegment
Reference the current persistent version:
◆ m_label
| std::string MuonSegmentExtractor::m_label |
|
private |
◆ m_originalParticles
The documentation for this class was generated from the following files: