#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 30 of file CSCSegAlgoShowering.h.
|
explicit |
Constructor.
Definition at line 27 of file CSCSegAlgoShowering.cc.
References dPhiFineMax, dRPhiFineMax, edm::ParameterSet::getParameter(), maxDPhi, maxDTheta, maxRatioResidual, tanPhiMax, and tanThetaMax.
|
virtual |
|
private |
Definition at line 287 of file CSCSegAlgoShowering.cc.
References convertSQLiteXML::ok, and protoSegment.
Referenced by compareProtoSegment().
|
private |
Definition at line 310 of file CSCSegAlgoShowering.cc.
References addHit(), CSCSegFit::chi2(), CSCSegFit::fit(), convertSQLiteXML::ok, protoSegment, sfit_, and theChamber.
Referenced by showerSeg().
|
private |
|
private |
Utility functions.
Definition at line 250 of file CSCSegAlgoShowering.cc.
References CSCRecHit2D::cscDetId(), SiPixelRawToDigiRegional_cfi::deltaPhi, dPhiFineMax, dRPhiFineMax, CSCChamber::layer(), CSCDetId::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(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by showerSeg().
|
private |
Definition at line 340 of file CSCSegAlgoShowering.cc.
References CSCRecHit2D::cscDetId(), CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), maxRatioResidual, protoSegment, CSCSegFit::Rdev(), sfit_, theChamber, GeomDet::toGlobal(), GeomDet::toLocal(), updateParameters(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by showerSeg().
CSCSegment CSCSegAlgoShowering::showerSeg | ( | const CSCChamber * | aChamber, |
const ChamberHitContainer & | rechits | ||
) |
Definition at line 51 of file CSCSegAlgoShowering.cc.
References CSCSegFit::chi2(), compareProtoSegment(), CSCSegFit::covarianceMatrix(), CSCRecHit2D::cscDetId(), diffTreeTool::diff, dPhi(), h, CSCSegFit::hits(), i, customizeTrackingMonitorSeedNumber::idx, CSCSegFit::intercept(), isHitNearSegment(), CSCChamber::layer(), CSCDetId::layer(), CSCSegFit::localdir(), CSCRecHit2D::localPosition(), PV3DBase< T, PVType, FrameType >::mag(), maxDPhi, maxDTheta, gen::n, CSCSegFit::nhits(), Geom::Phi< T >::phi(), 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(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by CSCSegAlgoST::buildSegments(), and CSCSegAlgoDF::buildSegments().
|
private |
Definition at line 393 of file CSCSegAlgoShowering.cc.
References CSCSegFit::fit(), protoSegment, sfit_, and theChamber.
Referenced by pruneFromResidual(), and showerSeg().
|
private |
Definition at line 64 of file CSCSegAlgoShowering.h.
|
private |
Definition at line 58 of file CSCSegAlgoShowering.h.
|
private |
Definition at line 61 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and isHitNearSegment().
|
private |
Definition at line 60 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and isHitNearSegment().
|
private |
Definition at line 68 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and showerSeg().
|
private |
Definition at line 67 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and showerSeg().
|
private |
Definition at line 65 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering(), and pruneFromResidual().
|
private |
Definition at line 59 of file CSCSegAlgoShowering.h.
|
private |
Definition at line 52 of file CSCSegAlgoShowering.h.
|
private |
Definition at line 55 of file CSCSegAlgoShowering.h.
Referenced by addHit(), compareProtoSegment(), pruneFromResidual(), showerSeg(), and updateParameters().
|
private |
Definition at line 70 of file CSCSegAlgoShowering.h.
Referenced by compareProtoSegment(), isHitNearSegment(), pruneFromResidual(), showerSeg(), and updateParameters().
|
private |
Definition at line 62 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering().
|
private |
Definition at line 63 of file CSCSegAlgoShowering.h.
Referenced by CSCSegAlgoShowering().
|
private |
Definition at line 53 of file CSCSegAlgoShowering.h.
Referenced by compareProtoSegment(), isHitNearSegment(), pruneFromResidual(), showerSeg(), and updateParameters().