#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 20 of file CaloHitMaker.h.
typedef ROOT::Math::Plane3D CaloHitMaker::Plane3D |
Definition at line 24 of file CaloHitMaker.h.
Definition at line 23 of file CaloHitMaker.h.
Definition at line 22 of file CaloHitMaker.h.
CaloHitMaker::CaloHitMaker | ( | const CaloGeometryHelper * | calo, |
DetId::Detector | det, | ||
int | subdetn, | ||
int | cal, | ||
unsigned | sht = 0 |
||
) |
Definition at line 12 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 27 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 41 of file CaloHitMaker.cc.
References a, b, gather_cfg::cout, debug, makePileupJSON::denom, normal, AlCaHLTBitMon_ParallelJobs::p, and submitPVValidationJobs::t.
Referenced by EcalHitMaker::ecalCellLine(), EcalHitMaker::getPads(), and PreshowerHitMaker::PreshowerHitMaker().
|
pure virtual |
Implemented in EcalHitMaker, PreshowerHitMaker, and HcalHitMaker.
|
private |
Definition at line 55 of file CaloHitMaker.h.
Referenced by CaloHitMaker().
|
protected |
Definition at line 50 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), CaloHitMaker(), EcalHitMaker::getPads(), HcalHitMaker::HcalHitMaker(), HcalHitMaker::setDepth(), and EcalHitMaker::setTrackParameters().
|
protected |
Definition at line 51 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), CaloHitMaker(), EcalHitMaker::getPads(), and HcalHitMaker::setDepth().
|
protected |
Definition at line 61 of file CaloHitMaker.h.
Referenced by PreshowerHitMaker::addHit(), HcalHitMaker::addHit(), PreshowerHitMaker::getHits(), HcalHitMaker::getHits(), and EcalHitMaker::getHits().
|
protected |
Definition at line 47 of file CaloHitMaker.h.
Referenced by CaloHitMaker(), EcalHitMaker::getPads(), and HcalHitMaker::HcalHitMaker().
|
protected |
Definition at line 52 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), and CaloHitMaker().
|
protected |
Definition at line 46 of file CaloHitMaker.h.
Referenced by PreshowerHitMaker::addHit(), CaloHitMaker(), EcalHitMaker::getPads(), and HcalHitMaker::HcalHitMaker().
|
protected |
Definition at line 44 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 57 of file CaloHitMaker.h.
Referenced by CaloHitMaker().
|
protected |
Definition at line 60 of file CaloHitMaker.h.
|
protected |
Definition at line 48 of file CaloHitMaker.h.
Referenced by HcalHitMaker::addHit(), EcalHitMaker::addHit(), EcalHitMaker::addHitDepth(), HcalHitMaker::setSpotEnergy(), PreshowerHitMaker::setSpotEnergy(), and EcalHitMaker::setSpotEnergy().
|
private |
Definition at line 56 of file CaloHitMaker.h.
Referenced by CaloHitMaker().
|
protected |
Definition at line 45 of file CaloHitMaker.h.
Referenced by CaloHitMaker().