#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 cuy::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(), ProjectedSiStripRecHit2D::originalHit(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, LaserDQM_cfg::process, alignCSCRings::s, findQualityFiles::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(), findQualityFiles::v, makeHLTPrescaleTable::values, and histoStyle::weight.
|
private |
Definition at line 164 of file EnergyLossPlain.cc.
References first, i, create_public_lumi_plots::log, edm::second(), python.multivaluedict::sort(), findQualityFiles::v, makeHLTPrescaleTable::values, and histoStyle::weight.
|
private |
Definition at line 213 of file EnergyLossPlain.cc.
References Surface::bounds(), PV3DBase< T, PVType, FrameType >::mag(), PixelTopology::ncolumns(), PixelTopology::nrows(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), Bounds::thickness(), makeHLTPrescaleTable::values, x, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
Definition at line 247 of file EnergyLossPlain.cc.
References begin, Surface::bounds(), delta, end, i, PV3DBase< T, PVType, FrameType >::mag(), StripTopology::nstrips(), StripGeomDetUnit::specificTopology(), GeomDet::surface(), Bounds::thickness(), Tmax, makeHLTPrescaleTable::values, x, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
Definition at line 138 of file EnergyLossPlain.cc.
References i, python.multivaluedict::sort(), findQualityFiles::v, makeHLTPrescaleTable::values, and histoStyle::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.