1 #ifndef CALIBCALORIMETRY_HCALALGOS_HCALPULSESHAPES_H 2 #define CALIBCALORIMETRY_HCALALGOS_HCALPULSESHAPES_H 1 21 class HepRandomEngine;
34 const Shape&
hbShape()
const {
return hpdShape_; }
35 const Shape&
heShape()
const {
return hpdShape_; }
36 const Shape&
hfShape()
const {
return hfShape_; }
37 const Shape&
hoShape(
bool sipm=
false)
const {
return sipm ? siPMShapeHO_ : hpdShape_; }
39 const Shape&
getShape(
int shapeType)
const;
41 const Shape& shape(
const HcalDetId & detId)
const;
42 const Shape& shapeForReco(
const HcalDetId & detId)
const;
44 const Shape& defaultShape(
const HcalDetId & detId)
const;
46 static const int nBinsSiPM_ = 250;
49 static double analyticPulseShapeSiPMHO(
double t);
50 static double analyticPulseShapeSiPMHE(
double t);
54 static double Y11203(
double t);
55 static double Y11206(
double t);
56 static double generatePhotonTime(CLHEP::HepRandomEngine* engine,
unsigned int signalShape);
57 static double generatePhotonTime203(CLHEP::HepRandomEngine* engine);
58 static double generatePhotonTime206(CLHEP::HepRandomEngine* engine);
60 template <
class F1,
class F2>
62 std::vector<double>
result(2*nbin-1,0.);
63 for(
unsigned i = 0;
i < 2*nbin-1; ++
i){
64 for(
unsigned j = 0; j <
std::min(
i+1,nbin); ++j){
74 void computeHPDShape(
float,
float,
float,
float,
float ,
75 float,
float,
float, Shape&);
76 void computeHFShape();
77 void computeSiPMShapeHO();
78 void computeSiPMShapeHE203();
79 void computeSiPMShapeHE206();
80 void computeSiPMShapeData2017();
81 void computeSiPMShapeData2018();
const Shape & heShape() const
const Shape & hoShape(bool sipm=false) const
std::map< int, const Shape * > ShapeMap
HcalRecoParams * theRecoParams
static std::vector< double > convolve(unsigned nbin, F1 f1, F2 f2)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
const Shape & hfShape() const
const HcalTopology * theTopology
HcalMCParams * theMCParams
std::vector< std::vector< double > > tmp
const Shape & hbShape() const
TEveGeoShape * getShape(const char *name, TGeoBBox *shape, Color_t color)