1 #ifndef CALIBCALORIMETRY_HCALALGOS_HCALPULSESHAPES_H 2 #define CALIBCALORIMETRY_HCALALGOS_HCALPULSESHAPES_H 1 20 class HepRandomEngine;
32 const Shape&
hbShape()
const {
return hpdShape_; }
33 const Shape&
heShape()
const {
return hpdShape_; }
34 const Shape&
hfShape()
const {
return hfShape_; }
35 const Shape&
hoShape(
bool sipm=
false)
const {
return sipm ? siPMShapeHO_ : hpdShape_; }
37 const Shape&
getShape(
int shapeType)
const;
39 const Shape& shape(
const HcalDetId & detId)
const;
40 const Shape& shapeForReco(
const HcalDetId & detId)
const;
42 const Shape& defaultShape(
const HcalDetId & detId)
const;
44 static const int nBinsSiPM_ = 250;
47 static double analyticPulseShapeSiPMHO(
double t);
48 static double analyticPulseShapeSiPMHE(
double t);
52 static double Y11203(
double t);
53 static double Y11206(
double t);
54 static double generatePhotonTime(CLHEP::HepRandomEngine* engine,
unsigned int signalShape);
55 static double generatePhotonTime203(CLHEP::HepRandomEngine* engine);
56 static double generatePhotonTime206(CLHEP::HepRandomEngine* engine);
58 template <
class F1,
class F2>
60 std::vector<double>
result(2*nbin-1,0.);
61 for(
unsigned i = 0;
i < 2*nbin-1; ++
i){
62 for(
unsigned j = 0; j <
std::min(
i+1,nbin); ++j){
72 void computeHPDShape(
float,
float,
float,
float,
float ,
73 float,
float,
float, Shape&);
74 void computeHFShape();
75 void computeSiPMShapeHO();
76 void computeSiPMShapeHE203();
77 void computeSiPMShapeHE206();
78 void computeSiPMShapeData2017();
79 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)