#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 ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, convertSQLiteXML::ok, and protoSegment.
Referenced by compareProtoSegment().
|
private |
Definition at line 302 of file CSCSegAlgoShowering.cc.
References addHit(), CSCSegFit::chi2(), CSCSegFit::fit(), h, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::layer, convertSQLiteXML::ok, protoSegment, sfit_, and theChamber.
Referenced by showerSeg().
|
private |
|
private |
Utility functions.
Definition at line 239 of file CSCSegAlgoShowering.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, dPhiFineMax, dRPhiFineMax, nano_mu_digi_cff::layer, CSCChamber::layer(), 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 runTauDisplay::gp, nano_mu_digi_cff::layer, CSCChamber::layer(), maxRatioResidual, nHits, protoSegment, CSCSegFit::Rdev(), sfit_, theChamber, 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(), alignCSCRings::d_x, alignCSCRings::d_y, change_name::diff, HLT_2024v14_cff::dPhi, runTauDisplay::gp, h, CSCSegFit::hits(), mps_fire::i, l1ctLayer2EG_cff::id, heavyIonCSV_trainingSettings::idx, CSCSegFit::intercept(), isHitNearSegment(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::layer, CSCChamber::layer(), CSCSegFit::localdir(), maxDPhi, maxDTheta, dqmiodumpmetadata::n, CSCSegFit::nhits(), PV3DBase< T, PVType, FrameType >::phi(), protoSegment, pruneFromResidual(), HI_PhotonSkim_cff::rechits, groupFilesInBlocks::reverse, 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::load_againstElectronMVA6(), and runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017().
|
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().