#include <CSCSegAlgoShowering.h>
Public Types | |
typedef std::vector< const CSCRecHit2D * > | ChamberHitContainer |
Public Member Functions | |
CSCSegAlgoShowering (const edm::ParameterSet &ps) | |
Constructor. More... | |
CSCSegment | showerSeg (const CSCChamber *aChamber, const ChamberHitContainer &rechits) |
virtual | ~CSCSegAlgoShowering () |
Destructor. More... | |
Private Member Functions | |
bool | addHit (const CSCRecHit2D *hit, int layer) |
void | compareProtoSegment (const CSCRecHit2D *h, int layer) |
bool | hasHitOnLayer (int layer) const |
bool | isHitNearSegment (const CSCRecHit2D *h) const |
Utility functions. More... | |
void | pruneFromResidual (void) |
void | updateParameters (void) |
Private Attributes | |
float | chi2Max |
bool | debug |
double | dPhiFineMax |
double | dRPhiFineMax |
float | maxDPhi |
float | maxDTheta |
float | maxRatioResidual |
int | minHitsPerSegment |
const std::string | myName |
ChamberHitContainer | protoSegment |
CSCSegFit * | sfit_ |
float | tanPhiMax |
float | tanThetaMax |
const CSCChamber * | theChamber |
Definition at line 26 of file CSCSegAlgoShowering.h.
typedef std::vector<const CSCRecHit2D*> CSCSegAlgoShowering::ChamberHitContainer |
Definition at line 28 of file CSCSegAlgoShowering.h.
|
explicit |
Constructor.
Definition at line 26 of file CSCSegAlgoShowering.cc.
References dPhiFineMax, dRPhiFineMax, edm::ParameterSet::getParameter(), maxDPhi, maxDTheta, maxRatioResidual, tanPhiMax, and tanThetaMax.
|
virtual |
|
private |
Definition at line 280 of file CSCSegAlgoShowering.cc.
References convertSQLiteXML::ok, and protoSegment.
Referenced by compareProtoSegment().
|
private |
Definition at line 302 of file CSCSegAlgoShowering.cc.
References addHit(), CSCSegFit::chi2(), CSCSegFit::fit(), phase1PixelTopology::layer, convertSQLiteXML::ok, protoSegment, sfit_, and theChamber.
Referenced by showerSeg().
|
private |
|
private |
Utility functions.
Definition at line 239 of file CSCSegAlgoShowering.cc.
References CSCRecHit2D::cscDetId(), srCondWrite_cfg::deltaPhi, dPhiFineMax, dRPhiFineMax, CSCDetId::layer(), CSCChamber::layer(), phase1PixelTopology::layer, CSCRecHit2D::localPosition(), M_PI, PV3DBase< T, PVType, FrameType >::phi(), dttmaxenums::R, sfit_, mathSSE::sqrt(), theChamber, GeomDet::toGlobal(), GeomDet::toLocal(), PV3DBase< T, PVType, FrameType >::x(), CSCSegFit::xfit(), PV3DBase< T, PVType, FrameType >::y(), CSCSegFit::yfit(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by showerSeg().
|
private |
Definition at line 329 of file CSCSegAlgoShowering.cc.
References CSCRecHit2D::cscDetId(), runTauDisplay::gp, CSCChamber::layer(), CSCDetId::layer(), phase1PixelTopology::layer, CSCRecHit2D::localPosition(), maxRatioResidual, nHits, protoSegment, CSCSegFit::Rdev(), sfit_, theChamber, GeomDet::toGlobal(), GeomDet::toLocal(), updateParameters(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by showerSeg().
CSCSegment CSCSegAlgoShowering::showerSeg | ( | const CSCChamber * | aChamber, |
const ChamberHitContainer & | rechits | ||
) |
Definition at line 46 of file CSCSegAlgoShowering.cc.
References CSCSegFit::chi2(), compareProtoSegment(), CSCSegFit::covarianceMatrix(), CSCRecHit2D::cscDetId(), change_name::diff, runTauDisplay::gp, h, CSCSegFit::hits(), mps_fire::i, gpuClustering::id, CSCSegFit::intercept(), isHitNearSegment(), CSCChamber::layer(), CSCDetId::layer(), phase1PixelTopology::layer, CSCSegFit::localdir(), CSCRecHit2D::localPosition(), PV3DBase< T, PVType, FrameType >::mag(), maxDPhi, maxDTheta, dqmiodumpmetadata::n, CSCSegFit::nhits(), PV3DBase< T, PVType, FrameType >::phi(), protoSegment, pruneFromResidual(), sfit_, groupFilesInBlocks::temp, theChamber, PV3DBase< T, PVType, FrameType >::theta(), GeomDet::toGlobal(), GeomDet::toLocal(), updateParameters(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by CSCSegAlgoST::buildSegments(), and CSCSegAlgoDF::buildSegments().
|
private |
Definition at line 384 of file CSCSegAlgoShowering.cc.
References CSCSegFit::fit(), protoSegment, sfit_, and theChamber.
Referenced by pruneFromResidual(), and showerSeg().
|
private |
Definition at line 60 of file CSCSegAlgoShowering.h.
|
private |
Definition at line 54 of file CSCSegAlgoShowering.h.
Referenced by runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 57 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and isHitNearSegment().
|
private |
Definition at line 56 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and isHitNearSegment().
|
private |
Definition at line 64 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and showerSeg().
|
private |
Definition at line 63 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and showerSeg().
|
private |
Definition at line 61 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and pruneFromResidual().
|
private |
Definition at line 55 of file CSCSegAlgoShowering.h.
|
private |
Definition at line 48 of file CSCSegAlgoShowering.h.
|
private |
Definition at line 51 of file CSCSegAlgoShowering.h.
Referenced by addHit(), compareProtoSegment(), pruneFromResidual(), showerSeg(), and updateParameters().
|
private |
Definition at line 66 of file CSCSegAlgoShowering.h.
Referenced by compareProtoSegment(), isHitNearSegment(), pruneFromResidual(), showerSeg(), and updateParameters().
|
private |
Definition at line 58 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering().
|
private |
Definition at line 59 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering().
|
private |
Definition at line 49 of file CSCSegAlgoShowering.h.
Referenced by compareProtoSegment(), isHitNearSegment(), pruneFromResidual(), showerSeg(), and updateParameters().