|
ATLAS Offline Software
|
#include <VP1CaloCells.h>
|
| VP1CC_LArEMECHEC (const CaloCell *caloCell, const CaloCell_ID *calo_id, const VP1CC_SeparatorMap *separators) |
|
virtual | ~VP1CC_LArEMECHEC () |
|
virtual void | build3DObjects (VP1CC_SoNode2CCMap *node2cc, bool useEt, const QPair< bool, double > &scale, bool outline, const VP1CC_GlobalCuts &) |
|
std::vector< std::string > | ToString (const CaloCell_ID *calo_id, const std::string &extrainfos="") |
|
virtual void | remove3DObjects (VP1CC_SoNode2CCMap *node2cc) |
|
double | energyToTransverse (const double &) const |
|
bool | cutPassed (const VP1CC_GlobalCuts &globalCuts) |
|
const CaloCell * | getCaloCell () |
|
Identifier | getID () |
|
void | updateScene (VP1CC_SoNode2CCMap *node2cc, bool useEt, const QPair< bool, double > &scale, bool outline, const VP1CC_GlobalCuts &globalCuts) |
|
double | cellDepth (const QPair< bool, double > &scale, const double &energy) |
|
virtual bool | isInsideClipVolume (const VP1CC_GlobalCuts &globalCuts) |
|
Definition at line 249 of file VP1CaloCells.h.
◆ VP1CC_LArEMECHEC()
Definition at line 238 of file VP1CaloCells.cxx.
244 throw std::runtime_error(
"VP1CC_LArEMECHEC: 0 pointer to VP1CC Separator Map");
249 else if(calo_id->
is_hec(caloCell->
ID()))
252 throw std::runtime_error(
"VP1CC_LArEMECHEC: Calo Cell is neither EMEC nor HEC!");
256 if(caloCell->
energy()<0) {
269 VP1CC_SeparatorMap::const_iterator
it =
separators->find(mySeparatorType);
271 throw std::runtime_error(
"VP1CC_LArEMECHEC: Missing separator in the map");
276 throw std::runtime_error(
"VP1CC_LArEMECHEC: 0 pointer to the separator helper");
◆ ~VP1CC_LArEMECHEC()
VP1CC_LArEMECHEC::~VP1CC_LArEMECHEC |
( |
| ) |
|
|
virtual |
◆ build3DObjects()
Implements VP1CaloCell.
Definition at line 318 of file VP1CaloCells.cxx.
324 bool createNewHit =
false;
334 double eta = ddElement->
eta();
335 double deta = ddElement->
deta()*0.5;
336 double phi = ddElement->
phi();
337 double dphi = ddElement->
dphi()*0.5;
338 double z = ddElement->
z();
350 (*node2cc)[
m_hit] =
this;
◆ cellDepth()
double VP1CaloCell::cellDepth |
( |
const QPair< bool, double > & |
scale, |
|
|
const double & |
energy |
|
) |
| |
|
inlineinherited |
◆ cutPassed()
◆ energyToTransverse()
double VP1CaloCell::energyToTransverse |
( |
const double & |
e | ) |
const |
|
inherited |
◆ getCaloCell()
◆ getID()
◆ isInsideClipVolume()
◆ remove3DObjects()
◆ ToString()
std::vector< std::string > VP1CC_LArEMECHEC::ToString |
( |
const CaloCell_ID * |
calo_id, |
|
|
const std::string & |
extrainfos = "" |
|
) |
| |
|
virtual |
Implements VP1CaloCell.
Definition at line 283 of file VP1CaloCells.cxx.
285 std::vector<std::string>
result;
288 std::ostringstream
msg, msg1, msg2, msg3;
290 std::string stars(
"***");
297 msg <<
" " << extrainfos;
299 msg1 <<
" Eta = " << ddElement->
eta()
300 <<
" Phi = " << ddElement->
phi();
310 result.push_back(msg1.str());
311 result.push_back(msg2.str());
312 result.push_back(msg3.str());
◆ updateScene()
◆ m_caloCell
◆ m_helper
◆ m_hit
The documentation for this class was generated from the following files:
float deta() const
cell deta
VP1CC_LAr(const CaloCell *caloCell)
virtual void build3DObjects(VP1CC_SoNode2CCMap *node2cc, bool useEt, const QPair< bool, double > &scale, bool outline, const VP1CC_GlobalCuts &)=0
@ depth
pointing depth of the shower as calculated in egammaqgcld
virtual double phi() const override final
get phi (through CaloDetDescrElement)
Scalar phi() const
phi method
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
Scalar eta() const
pseudorapidity method
bool is_em_endcap(const Identifier id) const
test if the id belongs to the EM Endcap
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
void setParametersForEndCapEtaPhiCell(double etaMin, double etaMax, double phiMin, double phiMax, double cellDepth, double cellDistance, double etasqueezefact=1.0, double phisqueezefact=1.0)
QList< VP1Interval > allowedPhi
virtual bool isInsideClipVolume(const VP1CC_GlobalCuts &globalCuts)
uint16_t provenance() const
get provenance (data member)
float time() const
get time (data member)
bool is_hec(const Identifier id) const
test if the id belongs to the HEC
double energy() const
get energy (data member)
VP1ExtraSepLayerHelper * m_helper
virtual void remove3DObjects(VP1CC_SoNode2CCMap *node2cc)=0
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
double energyToTransverse(const double &) const
uint16_t quality() const
get quality (data member)
double cellDepth(const QPair< bool, double > &scale, const double &energy)
bool contains(const double &x) const
bool cutPassed(const VP1CC_GlobalCuts &globalCuts)
CaloGain::CaloGain gain() const
get gain (data member )
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
const CaloCell * m_caloCell
float dphi() const
cell dphi
std::string getString() const
Provide a string form of the identifier - hexadecimal.
float eta() const
cell eta
float phi() const
cell phi
virtual double sinTh() const override final
get sin(theta) (through CaloDetDescrElement)
virtual double eta() const override final
get eta (through CaloDetDescrElement)