#include <CaloHitMaker.h>
Public Types | |
typedef ROOT::Math::Plane3D | Plane3D |
typedef math::XYZVector | XYZPoint |
typedef math::XYZVector | XYZVector |
Public Member Functions | |
virtual bool | addHit (double r, double phi, unsigned layer=0)=0 |
CaloHitMaker (const CaloGeometryHelper *calo, DetId::Detector det, int subdetn, int cal, unsigned sht=0) | |
const CaloGeometryHelper * | getCalorimeter () const |
virtual const std::map < CaloHitID, float > & | getHits ()=0 |
virtual void | setSpotEnergy (double e)=0 |
virtual | ~CaloHitMaker () |
Static Protected Member Functions | |
static XYZPoint | intersect (const Plane3D &p, const XYZPoint &a, const XYZPoint &b, double &t, bool segment, bool debug=false) |
Protected Attributes | |
bool | EMSHOWER |
bool | HADSHOWER |
std::map< CaloHitID, float > | hitMap_ |
double | interactionLength |
bool | MIP |
double | moliereRadius |
const CaloGeometryHelper * | myCalorimeter |
unsigned | showerType_ |
double | spotEnergy |
const CalorimeterProperties * | theCaloProperties |
Private Attributes | |
DetId::Detector | base_ |
int | onCal_ |
int | subdetn_ |
Definition at line 21 of file CaloHitMaker.h.
typedef ROOT::Math::Plane3D CaloHitMaker::Plane3D |
Definition at line 27 of file CaloHitMaker.h.
Definition at line 26 of file CaloHitMaker.h.
Definition at line 25 of file CaloHitMaker.h.
CaloHitMaker::CaloHitMaker | ( | const CaloGeometryHelper * | calo, |
DetId::Detector | det, | ||
int | subdetn, | ||
int | cal, | ||
unsigned | sht = 0 |
||
) |
Definition at line 10 of file CaloHitMaker.cc.
References base_, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, Calorimeter::ecalProperties(), EMSHOWER, HADSHOWER, DetId::Hcal, Calorimeter::hcalProperties(), CalorimeterProperties::interactionLength(), interactionLength, Calorimeter::layer1Properties(), MIP, CalorimeterProperties::moliereRadius(), moliereRadius, myCalorimeter, onCal_, subdetn_, and theCaloProperties.
|
inlinevirtual |
Definition at line 30 of file CaloHitMaker.h.
|
pure virtual |
Implemented in EcalHitMaker, HcalHitMaker, and PreshowerHitMaker.
|
inline |
|
pure virtual |
Implemented in EcalHitMaker, HcalHitMaker, and PreshowerHitMaker.
|
staticprotected |
computes the intersection between a straight line defined by a & b and a plan
Definition at line 38 of file CaloHitMaker.cc.
References gather_cfg::cout.
Referenced by EcalHitMaker::ecalCellLine(), EcalHitMaker::getPads(), and PreshowerHitMaker::PreshowerHitMaker().
|
pure virtual |
Implemented in EcalHitMaker, HcalHitMaker, and PreshowerHitMaker.
|
private |
Definition at line 58 of file CaloHitMaker.h.
Referenced by CaloHitMaker().
|
protected |
Definition at line 53 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), CaloHitMaker(), EcalHitMaker::getPads(), HcalHitMaker::HcalHitMaker(), HcalHitMaker::setDepth(), and EcalHitMaker::setTrackParameters().
|
protected |
Definition at line 54 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), CaloHitMaker(), EcalHitMaker::getPads(), and HcalHitMaker::setDepth().
|
protected |
Definition at line 65 of file CaloHitMaker.h.
Referenced by PreshowerHitMaker::addHit(), HcalHitMaker::addHit(), PreshowerHitMaker::getHits(), HcalHitMaker::getHits(), and EcalHitMaker::getHits().
|
protected |
Definition at line 50 of file CaloHitMaker.h.
Referenced by CaloHitMaker(), EcalHitMaker::getPads(), and HcalHitMaker::HcalHitMaker().
|
protected |
Definition at line 55 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), and CaloHitMaker().
|
protected |
Definition at line 49 of file CaloHitMaker.h.
Referenced by PreshowerHitMaker::addHit(), CaloHitMaker(), EcalHitMaker::getPads(), and HcalHitMaker::HcalHitMaker().
|
protected |
Definition at line 47 of file CaloHitMaker.h.
Referenced by PreshowerHitMaker::addHit(), HcalHitMaker::addHit(), EcalHitMaker::buildGeometry(), EcalHitMaker::buildSegments(), CaloHitMaker(), EcalHitMaker::configureGeometry(), EcalHitMaker::EcalHitMaker(), getCalorimeter(), EcalHitMaker::getHits(), EcalHitMaker::hcalCellLine(), EcalHitMaker::preshowerCellLine(), and PreshowerHitMaker::PreshowerHitMaker().
|
private |
Definition at line 60 of file CaloHitMaker.h.
Referenced by CaloHitMaker().
|
protected |
Definition at line 64 of file CaloHitMaker.h.
|
protected |
Definition at line 51 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), EcalHitMaker::addHit(), EcalHitMaker::addHitDepth(), PreshowerHitMaker::setSpotEnergy(), HcalHitMaker::setSpotEnergy(), and EcalHitMaker::setSpotEnergy().
|
private |
Definition at line 59 of file CaloHitMaker.h.
Referenced by CaloHitMaker().
|
protected |
Definition at line 48 of file CaloHitMaker.h.
Referenced by CaloHitMaker().