evdb_tool::SpacePoint3DDrawerHitAsymmetry::SpacePoint3DDrawerHitAsymmetry |
( |
const fhicl::ParameterSet & |
pset | ) |
|
|
explicit |
evdb_tool::SpacePoint3DDrawerHitAsymmetry::~SpacePoint3DDrawerHitAsymmetry |
( |
| ) |
|
Implements evdb_tool::ISpacePoints3D.
Definition at line 59 of file SpacePoint3DDrawerAsymmetry_tool.cc.
67 if (hitsVec.empty() || !hitAssnVec)
return;
72 using HitPosition = std::array<double,6>;
73 std::map<int,std::vector<HitPosition>> colorToHitMap;
78 for(
const auto& spacePoint : hitsVec)
86 const double*
pos = spacePoint->XYZ();
87 const double*
err = spacePoint->ErrXYZ();
89 colorToHitMap[chargeColorIdx].push_back(HitPosition()={{pos[0],pos[1],pos[2],err[2],err[2],err[5]}});
93 for(
auto& hitPair : colorToHitMap)
95 TPolyMarker3D&
pm = view->AddPolyMarker3D(hitPair.second.size(), hitPair.first, kFullDotLarge, 0.25);
96 for (
const auto&
hit : hitPair.second) pm.SetNextPoint(
hit[0],
hit[1],
hit[2]);
std::vector< double > fRecoQHigh
high edge of ADC values for drawing raw digits
std::vector< double > fRecoQLow
low edge of ADC values for drawing raw digits
const evdb::ColorScale & CalQ(geo::SigType_t st) const
void err(const char *fmt,...)
Detector simulation of raw signals on wires.
Signal from collection planes.
float evdb_tool::SpacePoint3DDrawerHitAsymmetry::fMaxAsymmetry |
|
private |
float evdb_tool::SpacePoint3DDrawerHitAsymmetry::fMinAsymmetry |
|
private |
The documentation for this class was generated from the following file: