48 for(
size_t j=0;j<=i&&j<
infos_.size();j++){
50 if (isFirst) isFirst =
false;
64 size_t S=0;
bool isStrip=
false;
bool isFirst =
true;
65 for(
size_t j=0;j<=i&&j<
infos_.size();j++){
67 if (isFirst) {isFirst =
false;}
93 std::vector<DeDxHitInfoContainer>
infos_;
DeDxHitInfoContainer(const float charge, const float pathlength, const DetId &detId, const LocalPoint &pos)
float pathlength_
path length inside a module
float charge(size_t i) const
const DetId & detId() const
edm::RefProd< DeDxHitInfoCollection > DeDxHitInfoRefProd
std::vector< SiStripCluster > stripClusters_
edm::Ref< DeDxHitInfoCollection > DeDxHitInfoRef
const LocalPoint pos(size_t i) const
std::vector< SiPixelCluster > pixelClusters_
edm::Association< DeDxHitInfoCollection > DeDxHitInfoAss
float charge_
total cluster charge
void addHit(const float charge, const float pathlength, const DetId &detId, const LocalPoint &pos, const SiStripCluster &stripCluster)
std::vector< DeDxHitInfo::DeDxHitInfoContainer > DeDxHitInfoContainerCollection
const SiPixelCluster * pixelCluster(size_t i) const
const std::vector< SiStripCluster > & stripClusters() const
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< DeDxHitInfo > DeDxHitInfoCollection
std::pair< OmniClusterRef, TrackingParticleRef > P
double S(const TLorentzVector &, const TLorentzVector &)
edm::RefVector< DeDxHitInfoCollection > DeDxHitInfoRefVector
Pixel cluster – collection of neighboring pixels above threshold.
float pathlength(size_t i) const
bool isPixel(HitType hitType)
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
std::vector< DeDxHitInfoContainer > infos_
void addHit(const float charge, const float pathlength, const DetId &detId, const LocalPoint &pos, const SiPixelCluster &pixelCluster)
const LocalPoint & pos() const
const SiStripCluster * stripCluster(size_t i) const
LocalPoint pos_
hit position
DetId detId(size_t i) const
const std::vector< SiPixelCluster > & pixelClusters() const