CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
MTDThresholdClusterizer Class Reference

An explicit threshold-based clustering algorithm. More...

#include <MTDThresholdClusterizer.h>

Inheritance diagram for MTDThresholdClusterizer:
MTDClusterizerBase

Public Member Functions

void clusterize (const FTLRecHitCollection &input, const MTDGeometry *geom, const MTDTopology *topo, FTLClusterCollection &output) override
 Cluster hits. This method operates on a matrix of hits and finds the largest contiguous cluster around each seed hit. Input and output data stored in DetSet. More...
 
 MTDThresholdClusterizer (edm::ParameterSet const &conf)
 Constructor: More...
 
 ~MTDThresholdClusterizer () override
 
- Public Member Functions inherited from MTDClusterizerBase
virtual ~MTDClusterizerBase ()
 

Static Public Member Functions

static void fillPSetDescription (edm::ParameterSetDescription &desc)
 

Private Member Functions

void clear_buffer (RecHitIterator itr)
 Clear the internal buffer array. More...
 
void copy_to_buffer (RecHitIterator itr, const MTDGeometry *geom, const MTDTopology *topo)
 Copy FTLRecHit into the buffer, identify seeds. More...
 
FTLCluster make_cluster (const FTLCluster::FTLHitPos &hit)
 The actual clustering algorithm: group the neighboring hits around the seed. More...
 
bool setup (const MTDGeometry *geometry, const MTDTopology *topo, const DetId &id)
 

Private Attributes

bool bufferAlreadySet
 
MTDArrayBuffer theBuffer
 Data storage. More...
 
std::vector< FTLClustertheClusters
 
const float theClusterThreshold
 
DetId theCurrentId
 
const float theHitThreshold
 Clustering-related quantities: More...
 
int theNumOfCols
 
int theNumOfRows
 Geometry-related information. More...
 
const float thePositionThreshold
 
std::vector< FTLCluster::FTLHitPostheSeeds
 
const float theSeedThreshold
 
const float theTimeThreshold
 

Additional Inherited Members

- Public Types inherited from MTDClusterizerBase
typedef FTLClusterCollection::const_iterator ClusterIterator
 
typedef FTLRecHitCollection::const_iterator RecHitIterator
 

Detailed Description

An explicit threshold-based clustering algorithm.

A threshold-based clustering algorithm which clusters FTLRecHits into FTLClusters for each DetUnit. The algorithm is straightforward and purely topological: the clustering process starts with seed hits and continues by adding adjacent hits above the hit threshold. Once the cluster is made, it has to be above the cluster threshold as well.

The clusterization is performed on a matrix with size equal to the size of the MTD detector, each cell containing the cahrge and time of the corresponding hit The matrix is reset after each clusterization.

The search starts from seed hits, i.e. hits with sufficiently large amplitudes

FTLCluster contains a barycenter, but it should be noted that that information is largely useless. One must use a PositionEstimator class to compute the RecHit position and its error for every given cluster.

Sets the MTDArrayBuffer dimensions and pixel thresholds. Makes clusters and stores them in theCache if the option useCache has been set.

Definition at line 51 of file MTDThresholdClusterizer.h.

Constructor & Destructor Documentation

◆ MTDThresholdClusterizer()

MTDThresholdClusterizer::MTDThresholdClusterizer ( edm::ParameterSet const &  conf)

Constructor:

Definition at line 26 of file MTDThresholdClusterizer.cc.

27  : // Get energy thresholds
28  theHitThreshold(conf.getParameter<double>("HitThreshold")),
29  theSeedThreshold(conf.getParameter<double>("SeedThreshold")),
30  theClusterThreshold(conf.getParameter<double>("ClusterThreshold")),
31  theTimeThreshold(conf.getParameter<double>("TimeThreshold")),
32  thePositionThreshold(conf.getParameter<double>("PositionThreshold")),
33  theNumOfRows(0),
34  theNumOfCols(0),
35  theCurrentId(0),
37  bufferAlreadySet(false) {}
const float theHitThreshold
Clustering-related quantities:
int theNumOfRows
Geometry-related information.
MTDArrayBuffer theBuffer
Data storage.

◆ ~MTDThresholdClusterizer()

MTDThresholdClusterizer::~MTDThresholdClusterizer ( )
override

Definition at line 39 of file MTDThresholdClusterizer.cc.

39 {}

Member Function Documentation

◆ clear_buffer()

void MTDThresholdClusterizer::clear_buffer ( RecHitIterator  itr)
private

Clear the internal buffer array.

MTDs which are not part of recognized clusters are NOT ERASED during the cluster finding. Erase them now.

Definition at line 187 of file MTDThresholdClusterizer.cc.

References MTDArrayBuffer::clear(), and theBuffer.

Referenced by clusterize().

187 { theBuffer.clear(itr->row(), itr->column()); }
MTDArrayBuffer theBuffer
Data storage.
void clear(uint row, uint col)

◆ clusterize()

void MTDThresholdClusterizer::clusterize ( const FTLRecHitCollection input,
const MTDGeometry geom,
const MTDTopology topo,
FTLClusterCollection output 
)
overridevirtual

Cluster hits. This method operates on a matrix of hits and finds the largest contiguous cluster around each seed hit. Input and output data stored in DetSet.

Implements MTDClusterizerBase.

Definition at line 90 of file MTDThresholdClusterizer.cc.

References cms::cuda::assert(), MTDDetId::BTL, clear_buffer(), copy_to_buffer(), MTDTopologyMode::crysLayoutFromTopoMode(), TauDecayModes::dec, mps_fire::end, MTDArrayBuffer::energy(), FTLCluster::energy(), MTDDetId::ETL, Exception, MTDDetId::FastTime, totem::nt2::vfat::geoId(), relativeConstraints::geom, MTDTopology::getMTDTopologyMode(), mps_fire::i, input, LogDebug, make_cluster(), MTDDetId::mtdSubDetector(), convertSQLitetoXML_cfg::output, edmNew::DetSetVector< T >::FastFiller::push_back(), FastTimerService_cff::range, DetId::rawId(), setup(), FTLCluster::size(), MTDDetId::subDetector(), theBuffer, theClusterThreshold, theSeeds, theSeedThreshold, FTLCluster::time(), FTLCluster::x(), and FTLCluster::y().

93  {
96 
97  // Do not bother for empty detectors
98  if (begin == end) {
99  edm::LogInfo("MTDThresholdClusterizer") << "No hits to clusterize";
100  return;
101  }
102 
103  LogDebug("MTDThresholdClusterizer") << "Input collection " << input.size();
104  assert(output.empty());
105 
106  std::set<unsigned> geoIds;
107  std::multimap<unsigned, unsigned> geoIdToIdx;
108 
109  unsigned index = 0;
110  for (const auto& hit : input) {
111  MTDDetId mtdId = MTDDetId(hit.detid());
112  if (mtdId.subDetector() != MTDDetId::FastTime) {
113  throw cms::Exception("MTDThresholdClusterizer")
114  << "MTDDetId: " << std::hex << mtdId.rawId() << " is invalid!" << std::dec << std::endl;
115  }
116 
117  if (mtdId.mtdSubDetector() == MTDDetId::BTL) {
118  BTLDetId hitId(hit.detid());
119  //for BTL topology gives different layout id
121  geoIdToIdx.emplace(geoId, index);
122  geoIds.emplace(geoId);
123  ++index;
124  } else if (mtdId.mtdSubDetector() == MTDDetId::ETL) {
125  ETLDetId hitId(hit.detid());
126  DetId geoId = hitId.geographicalId();
127  geoIdToIdx.emplace(geoId, index);
128  geoIds.emplace(geoId);
129  ++index;
130  } else {
131  throw cms::Exception("MTDThresholdClusterizer")
132  << "MTDDetId: " << std::hex << mtdId.rawId() << " is invalid!" << std::dec << std::endl;
133  }
134  }
135 
136  //cluster hits within geoIds (modules)
137  for (unsigned id : geoIds) {
138  // Set up the clusterization on this DetId.
139  if (!setup(geom, topo, DetId(id)))
140  return;
141 
142  auto range = geoIdToIdx.equal_range(id);
143  LogDebug("MTDThresholdClusterizer") << "Matching Ids for " << std::hex << id << std::dec << " ["
144  << range.first->second << "," << range.second->second << "]";
145 
146  // Copy MTDRecHits to the buffer array; select the seed hits
147  // on the way, and store them in theSeeds.
148  for (auto itr = range.first; itr != range.second; ++itr) {
149  const unsigned hitidx = itr->second;
150  copy_to_buffer(begin + hitidx, geom, topo);
151  }
152 
153  FTLClusterCollection::FastFiller clustersOnDet(output, id);
154 
155  for (unsigned int i = 0; i < theSeeds.size(); i++) {
156  if (theBuffer.energy(theSeeds[i]) > theSeedThreshold) { // Is this seed still valid?
157  // Make a cluster around this seed
158  const FTLCluster& cluster = make_cluster(theSeeds[i]);
159 
160  // Check if the cluster is above threshold
161  if (cluster.energy() > theClusterThreshold) {
162  LogDebug("MTDThresholdClusterizer")
163  << "putting in this cluster " << i << " #hits:" << cluster.size() << " E:" << cluster.energy()
164  << " T:" << cluster.time() << " X:" << cluster.x() << " Y:" << cluster.y();
165  clustersOnDet.push_back(cluster);
166  }
167  }
168  }
169 
170  // Erase the seeds.
171  theSeeds.clear();
172  // Need to clean unused hits from the buffer array.
173  for (auto itr = range.first; itr != range.second; ++itr) {
174  const unsigned hitidx = itr->second;
175  clear_buffer(begin + hitidx);
176  }
177  }
178 }
uint8_t geoId(const VFATFrame &frame)
retrieve the GEO information for this channel
int getMTDTopologyMode() const
Definition: MTDTopology.h:27
float energy(uint row, uint col) const
float x() const
Definition: FTLCluster.h:120
int size() const
Definition: FTLCluster.h:141
std::vector< T >::const_iterator const_iterator
int mtdSubDetector() const
Definition: MTDDetId.h:56
assert(be >=bs)
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
static std::string const input
Definition: EdmProvDump.cc:50
void copy_to_buffer(RecHitIterator itr, const MTDGeometry *geom, const MTDTopology *topo)
Copy FTLRecHit into the buffer, identify seeds.
float y() const
Definition: FTLCluster.h:125
bool setup(const MTDGeometry *geometry, const MTDTopology *topo, const DetId &id)
std::vector< FTLCluster::FTLHitPos > theSeeds
Log< level::Info, false > LogInfo
Definition: DetId.h:17
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
float energy() const
Definition: FTLCluster.h:149
MTDArrayBuffer theBuffer
Data storage.
FTLCluster make_cluster(const FTLCluster::FTLHitPos &hit)
The actual clustering algorithm: group the neighboring hits around the seed.
Detector identifier class for the Endcap Timing Layer.
Definition: ETLDetId.h:15
SubDetector subDetector() const
Definition: MTDDetId.h:53
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
Definition: BTLDetId.h:18
void clear_buffer(RecHitIterator itr)
Clear the internal buffer array.
float time() const
Definition: FTLCluster.h:130
BTLDetId::CrysLayout crysLayoutFromTopoMode(const int &topoMode)
#define LogDebug(id)

◆ copy_to_buffer()

void MTDThresholdClusterizer::copy_to_buffer ( RecHitIterator  itr,
const MTDGeometry geom,
const MTDTopology topo 
)
private

Copy FTLRecHit into the buffer, identify seeds.

Definition at line 192 of file MTDThresholdClusterizer.cc.

References GeomDetEnumerators::barrel, MTDDetId::BTL, cuy::col, MTDTopologyMode::crysLayoutFromTopoMode(), GeomDetEnumerators::endcap, HCALHighEnergyHPDFilter_cfi::energy, MTDDetId::ETL, totem::nt2::vfat::geoId(), relativeConstraints::geom, MTDTopology::getMTDTopologyMode(), GeomDetEnumerators::invalidLoc, BTLRecHitsErrorEstimatorIM::localError(), RectangularMTDTopology::localPosition(), LogDebug, MTDDetId::mtdSubDetector(), RectangularMTDTopology::pitch(), position, MTDArrayBuffer::set(), ProxyMTDTopology::specificTopology(), theBuffer, theHitThreshold, theSeeds, theSeedThreshold, protons_cff::time, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by clusterize().

192  {
193  MTDDetId mtdId = MTDDetId(itr->detid());
194  int row = itr->row();
195  int col = itr->column();
197  float energy = itr->energy();
198  float time = itr->time();
199  float timeError = itr->timeError();
200  float position = itr->position();
201  // position is the longitudinal offset that should be added into local x for bars in phi geometry
202  LocalError local_error(0, 0, 0);
203  GlobalPoint global_point(0, 0, 0);
204  if (mtdId.mtdSubDetector() == MTDDetId::BTL) {
206  BTLDetId id = itr->id();
208  const auto& det = geom->idToDet(geoId);
209  const ProxyMTDTopology& topoproxy = static_cast<const ProxyMTDTopology&>(det->topology());
210  const RectangularMTDTopology& topol = static_cast<const RectangularMTDTopology&>(topoproxy.specificTopology());
211  MeasurementPoint mp(row, col);
212  LocalPoint lp_ctr = topol.localPosition(mp);
213  LocalPoint lp(lp_ctr.x() + position + topol.pitch().first * 0.5f, lp_ctr.y(), lp_ctr.z());
214  // local coordinates of BTL module locates RecHits on the left edge of the bar (-9.2, -3.067, 3.067)
215  // (position + topol.pitch().first/2.0) is the distance from the left edge to the Hit point
216  global_point = det->toGlobal(lp);
217  BTLRecHitsErrorEstimatorIM btlError(det, lp);
218  local_error = btlError.localError();
219  } else if (mtdId.mtdSubDetector() == MTDDetId::ETL) {
221  ETLDetId id = itr->id();
222  DetId geoId = id.geographicalId();
223  const auto& det = geom->idToDet(geoId);
224  const ProxyMTDTopology& topoproxy = static_cast<const ProxyMTDTopology&>(det->topology());
225  const RectangularMTDTopology& topol = static_cast<const RectangularMTDTopology&>(topoproxy.specificTopology());
226 
227  MeasurementPoint mp(row, col);
228  LocalPoint lp = topol.localPosition(mp);
229  global_point = det->toGlobal(lp);
230  }
231 
232  LogDebug("MTDThresholdClusterizer") << "ROW " << row << " COL " << col << " ENERGY " << energy << " TIME " << time;
233  if (energy > theHitThreshold) {
234  theBuffer.set(row, col, subDet, energy, time, timeError, local_error, global_point);
235  if (energy > theSeedThreshold)
236  theSeeds.push_back(FTLCluster::FTLHitPos(row, col));
237  //sort seeds?
238  }
239 }
uint8_t geoId(const VFATFrame &frame)
retrieve the GEO information for this channel
int getMTDTopologyMode() const
Definition: MTDTopology.h:27
T z() const
Definition: PV3DBase.h:61
virtual const PixelTopology & specificTopology() const
int mtdSubDetector() const
Definition: MTDDetId.h:56
const float theHitThreshold
Clustering-related quantities:
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
T x() const
Definition: PV3DBase.h:59
T y() const
Definition: PV3DBase.h:60
std::vector< FTLCluster::FTLHitPos > theSeeds
Definition: DetId.h:17
std::pair< float, float > pitch() const override
MTDArrayBuffer theBuffer
Data storage.
void set(uint row, uint col, GeomDetEnumerators::Location subDet, float energy, float time, float time_error, const LocalError &local_error, const GlobalPoint &global_point)
Detector identifier class for the Endcap Timing Layer.
Definition: ETLDetId.h:15
static int position[264][3]
Definition: ReadPGInfo.cc:289
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
Definition: BTLDetId.h:18
col
Definition: cuy.py:1009
BTLDetId::CrysLayout crysLayoutFromTopoMode(const int &topoMode)
LocalPoint localPosition(const MeasurementPoint &mp) const override
#define LogDebug(id)

◆ fillPSetDescription()

void MTDThresholdClusterizer::fillPSetDescription ( edm::ParameterSetDescription desc)
static

Definition at line 42 of file MTDThresholdClusterizer.cc.

References submitPVResolutionJobs::desc.

Referenced by MTDClusterProducer::fillDescriptions().

42  {
43  desc.add<double>("HitThreshold", 0.);
44  desc.add<double>("SeedThreshold", 0.);
45  desc.add<double>("ClusterThreshold", 0.);
46  desc.add<double>("TimeThreshold", 10.);
47  desc.add<double>("PositionThreshold", -1.0);
48 }

◆ make_cluster()

FTLCluster MTDThresholdClusterizer::make_cluster ( const FTLCluster::FTLHitPos hit)
private

The actual clustering algorithm: group the neighboring hits around the seed.

Definition at line 244 of file MTDThresholdClusterizer.cc.

References funct::abs(), MTDClusterizerBase::AccretionCluster::add(), GeomDetEnumerators::barrel, c, MTDArrayBuffer::clear(), MTDArrayBuffer::columns(), MTDClusterizerBase::AccretionCluster::empty(), MTDArrayBuffer::energy(), MTDClusterizerBase::AccretionCluster::energy, MTDArrayBuffer::global_point(), MTDClusterizerBase::AccretionCluster::isize, MTDArrayBuffer::local_error(), mag2(), SiStripPI::max, SiStripPI::min, MTDClusterizerBase::AccretionCluster::pop(), alignCSCRings::r, MTDArrayBuffer::rows(), mathSSE::sqrt(), MTDArrayBuffer::subDet(), theBuffer, theCurrentId, theHitThreshold, thePositionThreshold, theTimeThreshold, MTDArrayBuffer::time(), MTDClusterizerBase::AccretionCluster::time, MTDArrayBuffer::time_error(), MTDClusterizerBase::AccretionCluster::timeError, MTDClusterizerBase::AccretionCluster::top(), MTDClusterizerBase::AccretionCluster::x, MTDClusterizerBase::AccretionCluster::xmin, geometryCSVtoXML::xx, LocalError::xx(), MTDClusterizerBase::AccretionCluster::y, MTDClusterizerBase::AccretionCluster::ymin, geometryCSVtoXML::yy, and LocalError::yy().

Referenced by clusterize().

244  {
245  //First we acquire the seeds for the clusters
246 
247  GeomDetEnumerators::Location seed_subdet = theBuffer.subDet(hit.row(), hit.col());
248  float seed_energy = theBuffer.energy(hit.row(), hit.col());
249  float seed_time = theBuffer.time(hit.row(), hit.col());
250  float seed_time_error = theBuffer.time_error(hit.row(), hit.col());
251  auto const seedPoint = theBuffer.global_point(hit.row(), hit.col());
252  double seed_error_xx = theBuffer.local_error(hit.row(), hit.col()).xx();
253  double seed_error_yy = theBuffer.local_error(hit.row(), hit.col()).yy();
255 
256  AccretionCluster acluster;
257  acluster.add(hit, seed_energy, seed_time, seed_time_error);
258 
259  bool stopClus = false;
260  //Here we search all hits adjacent to all hits in the cluster.
261  while (!acluster.empty() && !stopClus) {
262  //This is the standard algorithm to find and add a hit
263  auto curInd = acluster.top();
264  acluster.pop();
265  for (auto c = std::max(0, int(acluster.y[curInd] - 1));
266  c < std::min(int(acluster.y[curInd] + 2), int(theBuffer.columns())) && !stopClus;
267  ++c) {
268  for (auto r = std::max(0, int(acluster.x[curInd] - 1));
269  r < std::min(int(acluster.x[curInd] + 2), int(theBuffer.rows())) && !stopClus;
270  ++r) {
271  if (theBuffer.energy(r, c) > theHitThreshold) {
272  if (std::abs(theBuffer.time(r, c) - seed_time) >
274  sqrt(theBuffer.time_error(r, c) * theBuffer.time_error(r, c) + seed_time_error * seed_time_error))
275  continue;
276  if ((seed_subdet == GeomDetEnumerators::barrel) && (theBuffer.subDet(r, c) == GeomDetEnumerators::barrel)) {
277  double hit_error_xx = theBuffer.local_error(r, c).xx();
278  double hit_error_yy = theBuffer.local_error(r, c).yy();
279  if (thePositionThreshold > 0) {
280  if (((theBuffer.global_point(r, c) - seedPoint).mag2()) >
282  (hit_error_xx + seed_error_xx + hit_error_yy + seed_error_yy))
283  continue;
284  }
285  }
286  FTLCluster::FTLHitPos newhit(r, c);
287  if (!acluster.add(newhit, theBuffer.energy(r, c), theBuffer.time(r, c), theBuffer.time_error(r, c))) {
288  stopClus = true;
289  break;
290  }
291  theBuffer.clear(newhit);
292  }
293  }
294  }
295  } // while accretion
296 
297  FTLCluster cluster(theCurrentId,
298  acluster.isize,
299  acluster.energy.data(),
300  acluster.time.data(),
301  acluster.timeError.data(),
302  acluster.x.data(),
303  acluster.y.data(),
304  acluster.xmin,
305  acluster.ymin);
306  return cluster;
307 }
uint rows() const
float energy(uint row, uint col) const
float time(uint row, uint col) const
LocalError local_error(uint row, uint col) const
uint columns() const
const float theHitThreshold
Clustering-related quantities:
GeomDetEnumerators::Location subDet(uint row, uint col) const
Use subDet to identify whether the Hit is in BTL or ETL.
float time_error(uint row, uint col) const
float yy() const
Definition: LocalError.h:24
GlobalPoint global_point(uint row, uint col) const
T sqrt(T t)
Definition: SSEVec.h:19
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
MTDArrayBuffer theBuffer
Data storage.
void clear(uint row, uint col)
float xx() const
Definition: LocalError.h:22

◆ setup()

bool MTDThresholdClusterizer::setup ( const MTDGeometry geom,
const MTDTopology topo,
const DetId id 
)
private

Prepare the Clusterizer to work on a particular DetUnit. Re-init the size of the panel/plaquette (so update nrows and ncols),

Definition at line 54 of file MTDThresholdClusterizer.cc.

References bufferAlreadySet, MTDArrayBuffer::columns(), TauDecayModes::dec, Exception, relativeConstraints::geom, l1ctLayer2EG_cff::id, LogDebug, hgcalPlots::ncols, RectangularMTDTopology::ncolumns(), RectangularMTDTopology::nrows(), MTDArrayBuffer::rows(), MTDArrayBuffer::setSize(), ProxyMTDTopology::specificTopology(), theBuffer, theCurrentId, theNumOfCols, and theNumOfRows.

Referenced by clusterize().

54  {
55  theCurrentId = id;
56  //using geopraphicalId here
57  const auto& thedet = geom->idToDet(id);
58  if (thedet == nullptr) {
59  throw cms::Exception("MTDThresholdClusterizer")
60  << "GeographicalID: " << std::hex << id.rawId() << " is invalid!" << std::dec << std::endl;
61  return false;
62  }
63  const ProxyMTDTopology& topoproxy = static_cast<const ProxyMTDTopology&>(thedet->topology());
64  const RectangularMTDTopology& topol = static_cast<const RectangularMTDTopology&>(topoproxy.specificTopology());
65 
66  // Get the new sizes.
67  unsigned int nrows = topol.nrows(); // rows in x
68  unsigned int ncols = topol.ncolumns(); // cols in y
69 
70  theNumOfRows = nrows; // Set new sizes
72 
73  LogDebug("MTDThresholdClusterizer") << "Buffer size [" << theNumOfRows + 1 << "," << theNumOfCols + 1 << "]";
74 
75  if (nrows > theBuffer.rows() || ncols > theBuffer.columns()) { // change only when a larger is needed
76  // Resize the buffer
77  theBuffer.setSize(nrows + 1, ncols + 1); // +1 needed for MTD
78  bufferAlreadySet = true;
79  }
80 
81  return true;
82 }
uint rows() const
uint columns() const
virtual const PixelTopology & specificTopology() const
int theNumOfRows
Geometry-related information.
int ncolumns() const override
int nrows() const override
MTDArrayBuffer theBuffer
Data storage.
void setSize(uint rows, uint cols)
#define LogDebug(id)

Member Data Documentation

◆ bufferAlreadySet

bool MTDThresholdClusterizer::bufferAlreadySet
private

Definition at line 83 of file MTDThresholdClusterizer.h.

Referenced by setup().

◆ theBuffer

MTDArrayBuffer MTDThresholdClusterizer::theBuffer
private

Data storage.

Definition at line 82 of file MTDThresholdClusterizer.h.

Referenced by clear_buffer(), clusterize(), copy_to_buffer(), make_cluster(), and setup().

◆ theClusters

std::vector<FTLCluster> MTDThresholdClusterizer::theClusters
private

Definition at line 66 of file MTDThresholdClusterizer.h.

◆ theClusterThreshold

const float MTDThresholdClusterizer::theClusterThreshold
private

Definition at line 71 of file MTDThresholdClusterizer.h.

Referenced by clusterize().

◆ theCurrentId

DetId MTDThresholdClusterizer::theCurrentId
private

Definition at line 79 of file MTDThresholdClusterizer.h.

Referenced by make_cluster(), and setup().

◆ theHitThreshold

const float MTDThresholdClusterizer::theHitThreshold
private

Clustering-related quantities:

Definition at line 69 of file MTDThresholdClusterizer.h.

Referenced by copy_to_buffer(), and make_cluster().

◆ theNumOfCols

int MTDThresholdClusterizer::theNumOfCols
private

Definition at line 77 of file MTDThresholdClusterizer.h.

Referenced by setup().

◆ theNumOfRows

int MTDThresholdClusterizer::theNumOfRows
private

Geometry-related information.

Definition at line 76 of file MTDThresholdClusterizer.h.

Referenced by setup().

◆ thePositionThreshold

const float MTDThresholdClusterizer::thePositionThreshold
private

Definition at line 73 of file MTDThresholdClusterizer.h.

Referenced by make_cluster().

◆ theSeeds

std::vector<FTLCluster::FTLHitPos> MTDThresholdClusterizer::theSeeds
private

Definition at line 65 of file MTDThresholdClusterizer.h.

Referenced by clusterize(), and copy_to_buffer().

◆ theSeedThreshold

const float MTDThresholdClusterizer::theSeedThreshold
private

Definition at line 70 of file MTDThresholdClusterizer.h.

Referenced by clusterize(), and copy_to_buffer().

◆ theTimeThreshold

const float MTDThresholdClusterizer::theTimeThreshold
private

Definition at line 72 of file MTDThresholdClusterizer.h.

Referenced by make_cluster().