|
ATLAS Offline Software
|
#include <VP1CaloCells.h>
|
| VP1CC_TileCrack (const CaloCell *caloCell, const TileID *tile_id, const VP1CC_SeparatorMap *separators) |
|
virtual | ~VP1CC_TileCrack () |
|
virtual void | build3DObjects (VP1CC_SoNode2CCMap *node2cc, bool useEt, const QPair< bool, double > &scale, bool outline, const VP1CC_GlobalCuts &) |
|
bool | isInsideClipVolume (const VP1CC_GlobalCuts &globalCuts) |
|
virtual void | remove3DObjects (VP1CC_SoNode2CCMap *node2cc) |
|
std::vector< std::string > | ToString (const CaloCell_ID *calo_id, const std::string &extrainfos="") |
|
int | GetFragChannel (const TileHWID *tile_hw_id, bool up, int &frag, int &channel) |
|
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) |
|
Definition at line 350 of file VP1CaloCells.h.
◆ VP1CC_TileCrack()
VP1CC_Tile has already dereferenced caloCell at this point, so it can't be zero anyway if(!caloCell) throw std::runtime_error("VP1CC_TileCrack: 0 pointer to CaloCell");
Definition at line 754 of file VP1CaloCells.cxx.
762 throw std::runtime_error(
"VP1CC_TileCrack: 0 pointer to VP1CC Separator Map");
772 VP1CC_SeparatorMap::const_iterator
it =
separators->find(mySeparatorType);
774 throw std::runtime_error(
"VP1CC_TileCrack: Missing separator in the map");
779 throw std::runtime_error(
"VP1CC_TileCrack: 0 pointer to the separator");
◆ ~VP1CC_TileCrack()
VP1CC_TileCrack::~VP1CC_TileCrack |
( |
| ) |
|
|
virtual |
◆ build3DObjects()
Implements VP1CaloCell.
Definition at line 863 of file VP1CaloCells.cxx.
869 bool createNewHit =
false;
876 double eta = ddElement->
eta();
877 double deta = ddElement->
deta()*0.5;
878 double phi = ddElement->
phi();
879 double dphi = ddElement->
dphi()*0.5;
880 double z = ddElement->
z();
881 double dz = ddElement->
dz()*0.5;
884 double radius = ddElement->
r();
885 double minZ = std::fabs(
z)-dz;
886 double radialDistance = sqrt(
radius*
radius + minZ*minZ);
903 (*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()
◆ GetFragChannel()
int VP1CC_TileCrack::GetFragChannel |
( |
const TileHWID * |
tile_hw_id, |
|
|
bool |
up, |
|
|
int & |
frag, |
|
|
int & |
channel |
|
) |
| |
|
virtual |
◆ getID()
◆ isInsideClipVolume()
Reimplemented from VP1CaloCell.
Definition at line 908 of file VP1CaloCells.cxx.
910 double z = ddElement->
z();
911 double dz = ddElement->
dz()*0.5;
912 double radius = ddElement->
r();
913 double minZ = std::fabs(
z)-dz;
914 double radialDistance = sqrt(
radius*
radius + minZ*minZ);
916 if ( radialDistance > globalCuts.
clipRadius )
return false;
◆ remove3DObjects()
◆ ToString()
std::vector< std::string > VP1CC_TileCrack::ToString |
( |
const CaloCell_ID * |
calo_id, |
|
|
const std::string & |
extrainfos = "" |
|
) |
| |
|
virtual |
Implements VP1CaloCell.
Definition at line 786 of file VP1CaloCells.cxx.
788 std::vector<std::string>
result;
789 std::ostringstream
msg, msg1;
791 std::string stars(
"***");
793 result.push_back(std::string(
"TileCrack Calo Cell"));
803 std::ostringstream
modnum;
838 result.push_back(msg1.str());
◆ updateScene()
◆ m_caloCell
◆ m_helper
◆ m_hit
◆ m_tileID
The documentation for this class was generated from the following files:
float deta() const
cell deta
VP1ExtraSepLayerHelper * m_helper
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)
int tower(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
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
virtual int get_id(const IdentifierHash &hash_id, HWIdentifier &id, const IdContext *context=0) const
create compact HW ID from hash id (return == 0 for OK)
Scalar eta() const
pseudorapidity method
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
IdContext channel_context(void) const
idContext for channels
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)
int frag(const HWIdentifier &id) const
extract frag field from HW identifier
int module(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
float time() const
get time (data member)
@ VP1CC_SepTileNegativeDown
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
double energy() const
get energy (data member)
IdentifierHash onl1() const
cell online identifier 1
virtual void remove3DObjects(VP1CC_SoNode2CCMap *node2cc)=0
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
double energyToTransverse(const double &) const
double cellDepth(const QPair< bool, double > &scale, const double &energy)
bool contains(const double &x) const
bool cutPassed(const VP1CC_GlobalCuts &globalCuts)
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
@ VP1CC_SepTilePositiveDown
const CaloCell * m_caloCell
float dphi() const
cell dphi
int side(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
float eta() const
cell eta
float phi() const
cell phi
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
VP1CC_Tile(const CaloCell *caloCell, const TileID *tile_id)
virtual double sinTh() const override final
get sin(theta) (through CaloDetDescrElement)
virtual double eta() const override final
get eta (through CaloDetDescrElement)