#include <SiZvertexMaker_xk.h>
|
|
| SiZvertexMaker_xk (const std::string &, const std::string &, const IInterface *) |
|
virtual | ~SiZvertexMaker_xk ()=default |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | finalize () override |
|
|
virtual std::list< Trk::Vertex > | newEvent (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data) const override |
|
virtual std::list< Trk::Vertex > | newRegion (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::vector< IdentifierHash > &, const std::vector< IdentifierHash > &) const override |
|
virtual std::list< Trk::Vertex > | newRegion (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::vector< IdentifierHash > &, const std::vector< IdentifierHash > &, const IRoiDescriptor &) const override |
|
|
virtual MsgStream & | dump (MsgStream &out) const override |
|
|
IntegerProperty | m_nspoint {this, "SeedSize", 2} |
|
IntegerProperty | m_histsize {this, "HistSize", 500} |
|
IntegerProperty | m_mincontent {this, "minContent", 20} |
|
DoubleProperty | m_zmin {this, "Zmin", -250.} |
|
DoubleProperty | m_zmax {this, "Zmax", +250.} |
|
DoubleProperty | m_ratio {this, "minRatio", 0.25} |
|
std::list< Trk::Vertex > | production (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data) const |
|
MsgStream & | dumpConditions (MsgStream &out) const |
|
Class for primary vertices z-coordinates generation (xKalman algorithm)
In AthenaMT, event dependent cache inside SiZvertexMaker_xk is not preferred. SiSpacePointsSeedMakerEventData class holds event dependent data for SiZvertexMaker_xk and ISiSpacePointsSeedMaker. Its object is instantiated in SiSPSeededTrackFinder::execute.
Definition at line 49 of file SiZvertexMaker_xk.h.
◆ SiZvertexMaker_xk()
InDet::SiZvertexMaker_xk::SiZvertexMaker_xk |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~SiZvertexMaker_xk()
virtual InDet::SiZvertexMaker_xk::~SiZvertexMaker_xk |
( |
| ) |
|
|
virtualdefault |
◆ dump()
MsgStream & InDet::SiZvertexMaker_xk::dump |
( |
MsgStream & |
out | ) |
const |
|
overridevirtual |
◆ dumpConditions()
MsgStream & InDet::SiZvertexMaker_xk::dumpConditions |
( |
MsgStream & |
out | ) |
const |
|
protected |
Definition at line 230 of file SiZvertexMaker_xk.cxx.
234 for (
int i=0;
i<
n; ++
i)
s1.append(
" ");
237 out<<
"|----------------------------------------------------------------------"
238 <<
"-------------------|"
240 out<<
"| SP seeds maker tool | "
242 out<<
"| Histogram size | "
245 out<<
"| SP seed length (2 or 3) | "
248 out<<
"| min content of hist.bin | "
251 out<<
"| min vertex Z-coordinate | "
252 <<std::setw(12)<<std::setprecision(4)<<
m_zmin
254 out<<
"| max vertex Z-coordinate | "
255 <<std::setw(12)<<std::setprecision(4)<<
m_zmax
257 out<<
"| min. ratio to max bin | "
258 <<std::setw(12)<<std::setprecision(4)<<
m_ratio
260 out<<
"|----------------------------------------------------------------------"
261 <<
"-------------------|"
◆ finalize()
StatusCode InDet::SiZvertexMaker_xk::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode InDet::SiZvertexMaker_xk::initialize |
( |
| ) |
|
|
overridevirtual |
◆ newEvent()
◆ newRegion() [1/2]
◆ newRegion() [2/2]
◆ production()
Definition at line 96 of file SiZvertexMaker_xk.cxx.
99 std::list<Trk::Vertex> vertices;
102 std::vector<double> z_histogram(
m_histsize+1, 0.);
107 std::list<double> ZMAX;
110 std::list<Trk::Vertex> lv;
117 std::multimap<int,double>
ver;
125 std::vector<const Trk::SpacePoint*>::const_iterator
126 s =
seed->spacePoints().begin();
131 ZMAX.push_back(
zmax);
136 int n =
static_cast<int>((
seed->zVertex()-
m_zmin)*sZ);
154 for (
m=
NMAX.begin();
m!=me; ++
m) {
156 z_histogram[(*m)] += (*
z++);
181 double zv = (z_histogram[
im]+z_histogram[
im-1]+z_histogram[
im+1])/
static_cast<double>(HiZm);
182 ver.insert(std::make_pair(-HiZm, zv));
186 HiZm =
static_cast<int>(
m_ratio*
static_cast<double>(HiZm));
193 zv = (z_histogram[
i]+z_histogram[
i-1]+z_histogram[
i+1])/
static_cast<double>(H3);
194 ver.insert(std::make_pair(-H3, zv));
206 vertices.push_back(Ver);
◆ m_histsize
IntegerProperty InDet::SiZvertexMaker_xk::m_histsize {this, "HistSize", 500} |
|
protected |
◆ m_mincontent
IntegerProperty InDet::SiZvertexMaker_xk::m_mincontent {this, "minContent", 20} |
|
protected |
◆ m_nspoint
IntegerProperty InDet::SiZvertexMaker_xk::m_nspoint {this, "SeedSize", 2} |
|
protected |
◆ m_ratio
DoubleProperty InDet::SiZvertexMaker_xk::m_ratio {this, "minRatio", 0.25} |
|
protected |
◆ m_seedsgenerator
◆ m_zmax
DoubleProperty InDet::SiZvertexMaker_xk::m_zmax {this, "Zmax", +250.} |
|
protected |
◆ m_zmin
DoubleProperty InDet::SiZvertexMaker_xk::m_zmin {this, "Zmin", -250.} |
|
protected |
The documentation for this class was generated from the following files: