CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalUncalibRecHitWorkerMaxSample.cc
Go to the documentation of this file.
1 
11 
13 
15 
18 
21 
22 #include <cmath>
23 #include <iomanip>
24 #include <iostream>
25 #include <vector>
26 
29 {
30 }
31 
32 
33 void
35 {
36 }
37 
38 bool
42 {
43  DetId detid(itdg->id());
44 
45  if ( detid.subdetId() == EcalBarrel ) {
46  result.push_back( ebAlgo_.makeRecHit(*itdg, 0, 0, 0, 0 ) );
47  } else {
48  result.push_back( eeAlgo_.makeRecHit(*itdg, 0, 0, 0, 0 ) );
49  }
50 
51  return true;
52 }
53 
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
virtual EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const double *pedestals, const double *gainRatios, const EcalWeightSet::EcalWeightMatrix **weights, const EcalWeightSet::EcalChi2WeightMatrix **chi2Matrix)
compute rechits
void push_back(T const &t)
tuple result
Definition: query.py:137
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)
Definition: DetId.h:20
EcalUncalibRecHitMaxSampleAlgo< EBDataFrame > ebAlgo_
EcalUncalibRecHitWorkerMaxSample(const edm::ParameterSet &ps)
#define DEFINE_EDM_PLUGIN(factory, type, name)
EcalUncalibRecHitMaxSampleAlgo< EEDataFrame > eeAlgo_