Go to the documentation of this file.
2 #ifndef DataFormats_SiPixelCluster_SiPixelClusterShapeData_h
3 #define DataFormats_SiPixelCluster_SiPixelClusterShapeData_h
22 typedef std::pair<const_iterator, const_iterator>
Range;
50 Field(
unsigned off,
unsigned siz,
bool s,
bool c,
bool h)
76 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
78 data_.shrink_to_fit();
84 static_assert(T::ArrayType::capacity() <= 15,
"T::ArrayType::capacity() more than 15, bit field too narrow");
103 auto end = beg +
f.size;
bool hasBigPixelsOnlyInside() const
SiPixelClusterShapeData get(const ClusterRef &cluster, const PixelGeomDetUnit *pixDet) const
SiPixelClusterShapeCache(const edm::ProductID &id)
edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > ClusterRef
~SiPixelClusterShapeData()
Pixel cluster – collection of neighboring pixels above threshold.
SiPixelClusterShapeCache(const edm::HandleBase &handle)
std::vector< std::pair< int, int > > sizeData_
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::pair< const_iterator, const_iterator > Range
~SiPixelClusterShapeCache()
edm::ProductID productId_
std::vector< std::pair< int, int > >::const_iterator const_iterator
SiPixelClusterShapeCache()
void checkRef(const ClusterRef &cluster) const
const bool hasBigPixelsOnlyInside_
void swap(SiPixelClusterShapeCache &other)
std::vector< Field > data_
void insert(const ClusterRef &cluster, const T &data)
char data[epos_bytes_allocation]
bool isFilled(const ClusterRef &cluster) const
Field(unsigned off, unsigned siz, bool s, bool c, bool h)
SiPixelClusterShapeData(const_iterator begin, const_iterator end, bool isStraight, bool isComplete, bool hasBigPixelsOnlyInside)