#include <EnergyLossPlain.h>
Public Member Functions | |
EnergyLossPlain (const TrackerGeometry *theTracker_, double pixelToStripMultiplier, double pixelToStripExponent) | |
int | estimate (const Trajectory *trajectory, std::vector< std::pair< int, double > > &arithmeticMean, std::vector< std::pair< int, double > > &truncatedMean) |
void | loadOptimalWeights () |
~EnergyLossPlain () | |
Private Member Functions | |
double | average (std::vector< std::pair< double, double > > &values) |
double | expected (double Delta1, double Delta2) |
double | logTruncate (std::vector< std::pair< double, double > > &values) |
double | optimal (std::vector< std::pair< double, double > > &values) |
void | process (LocalVector ldir, const SiPixelRecHit *recHit, std::vector< std::pair< double, double > > &values) |
void | process (LocalVector ldir, const SiStripRecHit2D *recHit, std::vector< std::pair< double, double > > &values) |
double | truncate (std::vector< std::pair< double, double > > &values) |
Private Attributes | |
double | pixelToStripExponent |
double | pixelToStripMultiplier |
const TrackerGeometry * | theTracker |
Static Private Attributes | |
static bool | isFirst = true |
static float | optimalWeight [61][61] |
Definition at line 12 of file EnergyLossPlain.h.
EnergyLossPlain::EnergyLossPlain | ( | const TrackerGeometry * | theTracker_, |
double | pixelToStripMultiplier, | ||
double | pixelToStripExponent | ||
) |
Definition at line 52 of file EnergyLossPlain.cc.
References isFirst().
EnergyLossPlain::~EnergyLossPlain | ( | ) |
Definition at line 67 of file EnergyLossPlain.cc.
|
private |
int EnergyLossPlain::estimate | ( | const Trajectory * | trajectory, |
std::vector< std::pair< int, double > > & | arithmeticMean, | ||
std::vector< std::pair< int, double > > & | truncatedMean | ||
) |
Definition at line 297 of file EnergyLossPlain.cc.
References a, PDRates::average, TrackingRecHit::geographicalId(), i, TrackingRecHit::isValid(), m, Trajectory::measurements(), SiStripMatchedRecHit2D::monoHit(), ProjectedSiStripRecHit2D::originalHit(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, LaserDQM_cfg::process, alignCSCRings::s, SiStripMatchedRecHit2D::stereoHit(), v, hltHiggsPostProcessors_cff::vstr, and detailsBasic3DVector::y.
Referenced by EnergyLossProducer::produce().
|
private |
void EnergyLossPlain::loadOptimalWeights | ( | ) |
Definition at line 73 of file EnergyLossPlain.cc.
References edm::FileInPath::fullPath(), i, LogTrace, n, optimalWeight, and w().
|
private |
Definition at line 111 of file EnergyLossPlain.cc.
References i, funct::pow(), python.multivaluedict::sort(), v, makeHLTPrescaleTable::values, and CommonMethods::weight().
|
private |
Definition at line 164 of file EnergyLossPlain.cc.
References first, i, create_public_lumi_plots::log, edm::second(), python.multivaluedict::sort(), v, makeHLTPrescaleTable::values, and CommonMethods::weight().
|
private |
Definition at line 213 of file EnergyLossPlain.cc.
References BoundSurface::bounds(), SiPixelRecHit::cluster(), TrackingRecHit::geographicalId(), PV3DBase< T, PVType, FrameType >::mag(), PixelTopology::ncolumns(), PixelTopology::nrows(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), Bounds::thickness(), makeHLTPrescaleTable::values, vdt::x, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave().
|
private |
Definition at line 247 of file EnergyLossPlain.cc.
References begin, BoundSurface::bounds(), SiStripRecHit2D::cluster(), delta, end, TrackingRecHit::geographicalId(), i, PV3DBase< T, PVType, FrameType >::mag(), StripTopology::nstrips(), StripGeomDetUnit::specificTopology(), GeomDet::surface(), Bounds::thickness(), Tmax, makeHLTPrescaleTable::values, vdt::x, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave().
|
private |
Definition at line 138 of file EnergyLossPlain.cc.
References i, python.multivaluedict::sort(), v, makeHLTPrescaleTable::values, and CommonMethods::weight().
|
staticprivate |
Definition at line 40 of file EnergyLossPlain.h.
|
staticprivate |
Definition at line 41 of file EnergyLossPlain.h.
Referenced by loadOptimalWeights().
|
private |
Definition at line 38 of file EnergyLossPlain.h.
|
private |
Definition at line 38 of file EnergyLossPlain.h.
|
private |
Definition at line 37 of file EnergyLossPlain.h.