5#ifndef RPCHITCLUSTERING_H
6#define RPCHITCLUSTERING_H
13#include "Identifier/Identifier.h"
20 typedef std::vector< const RpcPrepData* >
HitList;
21 typedef HitList::iterator
HitIt;
22 typedef HitList::const_iterator
HitCit;
35 for( ;it!=it_end;++it ){
36 if( (*it)->identify() != prd->
identify() )
continue;
37 if( fabs( (*it)->time() - 12.5) > fabs( prd->
time() - 12.5 ) ){
96 bool cluster(
const std::vector<const RpcPrepData*>& col );
97 bool cluster(
const std::vector<const RpcPrepData*>& col,
const Identifier& subid );
Class to represent RPC measurements.
float time() const
Returns the time.
Identifier identify() const
return the identifier
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
void add(const RpcPrepData *prd, int gasgap)
HitList::const_iterator HitCit
void merge(RpcClusterObj &cluster)
bool addSecond(const RpcPrepData *prd, int gasgap)
std::vector< const RpcPrepData * > HitList
std::vector< RpcClusterObj > clustersPhiTmp
std::vector< Doublet > channelsEta
const RpcClusterObj * bestPhiCluster() const
std::vector< RpcClusterObj > clustersEta
const RpcIdHelper * m_rpcIdHelper
std::vector< Doublet > channelsPhi
RpcHitClusteringObj(const RpcIdHelper *rpcIdHelper)
bool cluster(const std::vector< const RpcPrepData * > &col)
const RpcClusterObj * bestEtaCluster() const
std::vector< Doublet > HitClustering
std::vector< RpcClusterObj > clustersEtaTmp
std::vector< RpcClusterObj > clustersPhi
bool operator()(const RpcClusterObj &cl1, const RpcClusterObj &cl2) const