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 ? siPMShape_ : 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);
51 static double Y11TimePDF(
double t);
52 static double generatePhotonTime(CLHEP::HepRandomEngine* engine);
54 template <
class F1,
class F2>
56 std::vector<double>
result(2*nbin-1,0.);
57 for(
unsigned i = 0;
i < 2*nbin-1; ++
i){
58 for(
unsigned j = 0; j <
std::min(
i+1,nbin); ++j){
68 void computeHPDShape(
float,
float,
float,
float,
float ,
69 float,
float,
float, Shape&);
70 void computeHFShape();
71 void computeSiPMShape();
72 void computeSiPMShape2017();
73 void computeSiPMShapeData2017();
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)