|
ATLAS Offline Software
|
#include <LArFCalSamplingFraction.h>
|
| LArFCalSamplingFraction (const std::string &name, ISvcLocator *pSvcLocator) |
| Constructor. More...
|
|
| ~LArFCalSamplingFraction () |
| Destructor. More...
|
|
virtual StatusCode | initialize () override |
| Initialize. More...
|
|
virtual StatusCode | finalize () override |
| Finalize. More...
|
|
virtual StatusCode | execute () override |
| Execute (event by event) More...
|
|
virtual StatusCode | initEvent () |
| Init event. More...
|
|
StatusCode | doFCal () |
| The main FCal analysis method. More...
|
|
void | TruthImpactPosition (const HepMC::GenEvent *e) |
| Calculate truth impact position. More...
|
|
void | FCalCalibAnalysis (const std::string &name, const CaloCalibrationHit *CalibHit) |
| FCal Analysis with Calibration Hits on Added by JPA, June 2005. More...
|
|
void | FCalClusterCenter (const LArHitContainer *container, const CaloDetDescrManager *caloMgr) |
| Calculate FCal cluster center. More...
|
|
void | FCalHitCenter (const LArHitContainer *container, const CaloDetDescrManager *caloMgr) |
| Calculate FCal hit center. More...
|
|
void | FillCellInfo (const CaloDetDescrElement *caloDDE, double energy, std::vector< double > *cell_E, std::vector< double > *hit_x, std::vector< double > *hit_y, std::vector< double > *hit_ieta, std::vector< double > *hit_iphi, int &NCell) |
| Fill FCal cell information. More...
|
|
StatusCode | doCalib () |
| Calibration hit analysis. More...
|
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
Definition at line 40 of file LArFCalSamplingFraction.h.
◆ m_calibHitMap_ptr_t
◆ m_calibHitMap_t
◆ StoreGateSvc_t
◆ LArFCalSamplingFraction()
LArFCalSamplingFraction::LArFCalSamplingFraction |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~LArFCalSamplingFraction()
LArFCalSamplingFraction::~LArFCalSamplingFraction |
( |
| ) |
|
◆ addEventInfo()
StatusCode LArFCalSamplingFraction::addEventInfo |
( |
| ) |
|
|
private |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ doCalib()
StatusCode LArFCalSamplingFraction::doCalib |
( |
| ) |
|
Calibration hit analysis.
Definition at line 556 of file LArFCalSamplingFraction.cxx.
565 std::string
name = kv.first;
569 if (
sc.isFailure() || container == 0) {
576 return StatusCode::FAILURE;
579 ATH_MSG_DEBUG(
"CaloCalibrationHit container successfully retrieved");
581 kv.second = container;
614 std::string
name = kv.first;
625 double energy = calibhit->energyTotal();
636 if (
name ==
"LArCalibrationHitActive")
639 if (
name ==
"LArCalibrationHitInactive")
642 if (
name ==
"LArCalibrationHitDeadMaterial") {
◆ doFCal()
StatusCode LArFCalSamplingFraction::doFCal |
( |
| ) |
|
The main FCal analysis method.
Definition at line 804 of file LArFCalSamplingFraction.cxx.
824 sc =
evtStore()->retrieve(mcEventCollection,
"TruthEvent");
826 if (
sc.isSuccess()) {
829 for (
const HepMC::GenEvent * mcEvent : *mcEventCollection) {
835 <<
": could not fetch MC event collection");
840 std::string FCalContainerName =
"LArHitFCAL";
842 sc =
evtStore()->retrieve(container, FCalContainerName);
844 if (
sc.isFailure() || container == 0) {
847 return StatusCode::FAILURE;
850 ATH_MSG_DEBUG(
"LArHitFCAL container successfully retrieved");
868 for (
const LArHit* hit : *container) {
872 sc =
evtStore()->retrieve(mcEventCollection,
"TruthEvent");
874 if (
sc.isSuccess()) {
878 for (
const HepMC::GenEvent * mcEvent : *mcEventCollection)
881 for (
auto theParticle: *mcEvent)
883 m_pdg_id->push_back(theParticle->pdg_id());
895 double energy = hit->energy();
896 int module_index = caloDDE->
getLayer();
899 if (module_index == 1) {
903 else if (module_index == 2) {
907 else if (module_index == 3) {
919 return StatusCode::SUCCESS;
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode LArFCalSamplingFraction::execute |
( |
| ) |
|
|
overridevirtual |
Execute (event by event)
Definition at line 962 of file LArFCalSamplingFraction.cxx.
978 if (
sc.isFailure()) {
980 return StatusCode::SUCCESS;
985 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ FCalCalibAnalysis()
FCal Analysis with Calibration Hits on Added by JPA, June 2005.
Definition at line 666 of file LArFCalSamplingFraction.cxx.
703 if (
name ==
"LArCalibrationHitActive") {
720 if (
name ==
"LArCalibrationHitInactive") {
◆ FCalClusterCenter()
Calculate FCal cluster center.
Definition at line 469 of file LArFCalSamplingFraction.cxx.
472 float xNumer1 = 0.0, xNumer2 = 0.0, xNumer3 = 0.0;
473 float yNumer1 = 0.0, yNumer2 = 0.0, yNumer3 = 0.0;
474 float Denom1 = 0.0, Denom2 = 0.0, Denom3 = 0.0;
476 double subClusterSize = 30.0;
477 double thisCG_R = 0.0;
480 for (
const LArHit* hit : *container) {
488 double energy = hit->energy();
490 int module_index = caloDDE->
getLayer();
492 double x = caloDDE->
x();
493 double y = caloDDE->
y();
497 if (module_index == 1) {
499 double x_subcheck1 =
m_cx1 -
x;
500 double y_subcheck1 =
m_cy1 -
y;
501 thisCG_R = sqrt(x_subcheck1 * x_subcheck1 + y_subcheck1 * y_subcheck1);
503 if (thisCG_R <= subClusterSize) {
509 else if (module_index == 2) {
511 double x_subcheck2 =
m_cx2 -
x;
512 double y_subcheck2 =
m_cy2 -
y;
513 thisCG_R = sqrt(x_subcheck2 * x_subcheck2 + y_subcheck2 * y_subcheck2);
515 if (thisCG_R <= subClusterSize) {
521 else if (module_index == 3) {
523 double x_subcheck3 =
m_cx3 -
x;
524 double y_subcheck3 =
m_cy3 -
y;
525 thisCG_R = sqrt(x_subcheck3 * x_subcheck3 + y_subcheck3 * y_subcheck3);
527 if (thisCG_R <= subClusterSize) {
536 if (fabs(Denom1) > 0.0) {
541 if (fabs(Denom2) > 0.0) {
546 if (fabs(Denom3) > 0.0) {
◆ FCalHitCenter()
Calculate FCal hit center.
Definition at line 413 of file LArFCalSamplingFraction.cxx.
421 for (
const LArHit* hit : *container) {
429 double energy = hit->energy();
431 int module_index = caloDDE->
getLayer();
433 double x = caloDDE->
x();
434 double y = caloDDE->
y();
437 if (module_index == 1) {
445 else if (module_index == 2) {
453 else if (module_index == 3) {
◆ FillCellInfo()
void LArFCalSamplingFraction::FillCellInfo |
( |
const CaloDetDescrElement * |
caloDDE, |
|
|
double |
energy, |
|
|
std::vector< double > * |
cell_E, |
|
|
std::vector< double > * |
hit_x, |
|
|
std::vector< double > * |
hit_y, |
|
|
std::vector< double > * |
hit_ieta, |
|
|
std::vector< double > * |
hit_iphi, |
|
|
int & |
NCell |
|
) |
| |
Fill FCal cell information.
Definition at line 926 of file LArFCalSamplingFraction.cxx.
931 const double hitx = caloDDE->
x();
932 const double hity = caloDDE->
y();
933 const double hiteta = 7;
934 const double hitphi = 7;
940 if ((hitx == hit_x->at(
icell)) && (hity == hit_y->at(
icell))) {
949 cell_E->push_back(
energy);
950 hit_x->push_back(hitx);
951 hit_y->push_back(hity);
952 hit_ieta->push_back(hiteta);
953 hit_iphi->push_back(hitphi);
◆ finalize()
StatusCode LArFCalSamplingFraction::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initEvent()
StatusCode LArFCalSamplingFraction::initEvent |
( |
| ) |
|
|
virtual |
◆ initialize()
StatusCode LArFCalSamplingFraction::initialize |
( |
| ) |
|
|
overridevirtual |
Initialize.
- Get a handle on the analysis tools
- Set up output TTree
Definition at line 73 of file LArFCalSamplingFraction.cxx.
89 throw GaudiException(
"Invalid LAr FCAL ID helper",
"LArHitAnalysis", StatusCode::FAILURE);
95 throw GaudiException(
"Invalid Calo Cell ID helper",
"LArHitAnalysis", StatusCode::FAILURE);
123 m_tree_AS =
new TTree(
"tree_AS",
"TTree of AnalysisSkleton");
202 throw GaudiException(
"Invalid Calo DM ID helper",
"LArFCalTB_MC_CBNT_AA", StatusCode::FAILURE);
260 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ TruthImpactPosition()
void LArFCalSamplingFraction::TruthImpactPosition |
( |
const HepMC::GenEvent * |
e | ) |
|
Calculate truth impact position.
Definition at line 738 of file LArFCalSamplingFraction.cxx.
740 for (
const auto& theParticle: *
e)
745 const HepMC::FourVector& HMCmom = theParticle->momentum();
746 CLHEP::HepLorentzVector
momentum(CLHEP::Hep3Vector(HMCmom.px(), HMCmom.py(), HMCmom.pz()), HMCmom.e());
748 HepMC::FourVector HMC3vec(0.0,0.0,0.0,0.0);
749 if (theParticle->production_vertex()) HMC3vec = theParticle->production_vertex()->position();
750 HepGeom::Point3D<double> origin = HepGeom::Point3D<double>(HMC3vec.x(), HMC3vec.y(), HMC3vec.z());
767 m_vertx = theParticle->production_vertex()->position().x();
768 m_verty = theParticle->production_vertex()->position().y();
769 m_vertz = theParticle->production_vertex()->position().z();
776 std::string nickname;
784 double shift2 = sinangle * (5128.3 - 4668.5) *
CLHEP::mm;
785 double shift3 = sinangle * (5602.8 - 4668.5) *
CLHEP::mm;
◆ updateVHKA()
◆ m_bCID
unsigned int LArFCalSamplingFraction::m_bCID {} |
|
private |
◆ m_calibHitMap
◆ m_calibrationRun
bool LArFCalSamplingFraction::m_calibrationRun |
|
private |
◆ m_caloCellID
◆ m_caloDmID
◆ m_caloMgrKey
Initial value:{ this
, "CaloDetDescrManager"
, "CaloDetDescrManager"
, "SG Key for CaloDetDescrManager in the Condition Store" }
Definition at line 71 of file LArFCalSamplingFraction.h.
◆ m_cell1_E
std::vector<double>* LArFCalSamplingFraction::m_cell1_E {} |
|
private |
◆ m_cell2_E
std::vector<double>* LArFCalSamplingFraction::m_cell2_E {} |
|
private |
◆ m_cell3_E
std::vector<double>* LArFCalSamplingFraction::m_cell3_E {} |
|
private |
◆ m_cx1
double LArFCalSamplingFraction::m_cx1 |
|
private |
◆ m_cx2
double LArFCalSamplingFraction::m_cx2 |
|
private |
◆ m_cx3
double LArFCalSamplingFraction::m_cx3 |
|
private |
◆ m_cy1
double LArFCalSamplingFraction::m_cy1 |
|
private |
◆ m_cy2
double LArFCalSamplingFraction::m_cy2 |
|
private |
◆ m_cy3
double LArFCalSamplingFraction::m_cy3 |
|
private |
◆ m_detStore
◆ m_E
double LArFCalSamplingFraction::m_E {} |
|
private |
◆ m_eventInfoKey
◆ m_eventNumber
unsigned int LArFCalSamplingFraction::m_eventNumber {} |
|
private |
◆ m_eventTime
unsigned int LArFCalSamplingFraction::m_eventTime {} |
|
private |
◆ m_eventWeight
double LArFCalSamplingFraction::m_eventWeight {} |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_FCal1_SumE
double LArFCalSamplingFraction::m_FCal1_SumE {} |
|
private |
◆ m_FCal1Active
double LArFCalSamplingFraction::m_FCal1Active {} |
|
private |
◆ m_FCal1Em
double LArFCalSamplingFraction::m_FCal1Em {} |
|
private |
◆ m_FCal1Escaped
double LArFCalSamplingFraction::m_FCal1Escaped {} |
|
private |
◆ m_FCal1Inactive
double LArFCalSamplingFraction::m_FCal1Inactive {} |
|
private |
◆ m_FCal1Invisible
double LArFCalSamplingFraction::m_FCal1Invisible {} |
|
private |
◆ m_FCal1NonEm
double LArFCalSamplingFraction::m_FCal1NonEm {} |
|
private |
◆ m_FCal2_SumE
double LArFCalSamplingFraction::m_FCal2_SumE {} |
|
private |
◆ m_FCal2Active
double LArFCalSamplingFraction::m_FCal2Active {} |
|
private |
◆ m_FCal2Em
double LArFCalSamplingFraction::m_FCal2Em {} |
|
private |
◆ m_FCal2Escaped
double LArFCalSamplingFraction::m_FCal2Escaped {} |
|
private |
◆ m_FCal2Inactive
double LArFCalSamplingFraction::m_FCal2Inactive {} |
|
private |
◆ m_FCal2Invisible
double LArFCalSamplingFraction::m_FCal2Invisible {} |
|
private |
◆ m_FCal2NonEm
double LArFCalSamplingFraction::m_FCal2NonEm {} |
|
private |
◆ m_FCal3_SumE
double LArFCalSamplingFraction::m_FCal3_SumE {} |
|
private |
◆ m_FCal3Active
double LArFCalSamplingFraction::m_FCal3Active {} |
|
private |
◆ m_FCal3Em
double LArFCalSamplingFraction::m_FCal3Em {} |
|
private |
◆ m_FCal3Escaped
double LArFCalSamplingFraction::m_FCal3Escaped {} |
|
private |
◆ m_FCal3Inactive
double LArFCalSamplingFraction::m_FCal3Inactive {} |
|
private |
◆ m_FCal3Invisible
double LArFCalSamplingFraction::m_FCal3Invisible {} |
|
private |
◆ m_FCal3NonEm
double LArFCalSamplingFraction::m_FCal3NonEm {} |
|
private |
◆ m_FCalActive
double LArFCalSamplingFraction::m_FCalActive {} |
|
private |
◆ m_FCalActiveEm
double LArFCalSamplingFraction::m_FCalActiveEm {} |
|
private |
◆ m_FCalActiveEscaped
double LArFCalSamplingFraction::m_FCalActiveEscaped {} |
|
private |
◆ m_FCalActiveInvisible
double LArFCalSamplingFraction::m_FCalActiveInvisible {} |
|
private |
◆ m_FCalActiveNonEm
double LArFCalSamplingFraction::m_FCalActiveNonEm {} |
|
private |
◆ m_FCalDead
double LArFCalSamplingFraction::m_FCalDead {} |
|
private |
◆ m_FCalEm
double LArFCalSamplingFraction::m_FCalEm {} |
|
private |
◆ m_FCalEscaped
double LArFCalSamplingFraction::m_FCalEscaped {} |
|
private |
◆ m_FCalInactive
double LArFCalSamplingFraction::m_FCalInactive {} |
|
private |
◆ m_FCalInvisible
double LArFCalSamplingFraction::m_FCalInvisible {} |
|
private |
◆ m_FCalNonEm
double LArFCalSamplingFraction::m_FCalNonEm {} |
|
private |
◆ m_hit_ieta1
std::vector<double>* LArFCalSamplingFraction::m_hit_ieta1 {} |
|
private |
◆ m_hit_ieta2
std::vector<double>* LArFCalSamplingFraction::m_hit_ieta2 {} |
|
private |
◆ m_hit_ieta3
std::vector<double>* LArFCalSamplingFraction::m_hit_ieta3 {} |
|
private |
◆ m_hit_iphi1
std::vector<double>* LArFCalSamplingFraction::m_hit_iphi1 {} |
|
private |
◆ m_hit_iphi2
std::vector<double>* LArFCalSamplingFraction::m_hit_iphi2 {} |
|
private |
◆ m_hit_iphi3
std::vector<double>* LArFCalSamplingFraction::m_hit_iphi3 {} |
|
private |
◆ m_hit_x1
std::vector<double>* LArFCalSamplingFraction::m_hit_x1 {} |
|
private |
◆ m_hit_x2
std::vector<double>* LArFCalSamplingFraction::m_hit_x2 {} |
|
private |
◆ m_hit_x3
std::vector<double>* LArFCalSamplingFraction::m_hit_x3 {} |
|
private |
◆ m_hit_y1
std::vector<double>* LArFCalSamplingFraction::m_hit_y1 {} |
|
private |
◆ m_hit_y2
std::vector<double>* LArFCalSamplingFraction::m_hit_y2 {} |
|
private |
◆ m_hit_y3
std::vector<double>* LArFCalSamplingFraction::m_hit_y3 {} |
|
private |
◆ m_larFCalID
◆ m_lumiBlock
unsigned int LArFCalSamplingFraction::m_lumiBlock {} |
|
private |
◆ m_NCell1
int LArFCalSamplingFraction::m_NCell1 {} |
|
private |
◆ m_NCell2
int LArFCalSamplingFraction::m_NCell2 {} |
|
private |
◆ m_NCell3
int LArFCalSamplingFraction::m_NCell3 {} |
|
private |
◆ m_numHitsActive
int LArFCalSamplingFraction::m_numHitsActive {} |
|
private |
◆ m_numHitsDead
int LArFCalSamplingFraction::m_numHitsDead {} |
|
private |
◆ m_numHitsFCal
int LArFCalSamplingFraction::m_numHitsFCal {} |
|
private |
◆ m_numHitsInactive
int LArFCalSamplingFraction::m_numHitsInactive {} |
|
private |
◆ m_pdg_id
std::vector<int>* LArFCalSamplingFraction::m_pdg_id {} |
|
private |
◆ m_PhysTotE
double LArFCalSamplingFraction::m_PhysTotE {} |
|
private |
◆ m_pt
double LArFCalSamplingFraction::m_pt {} |
|
private |
◆ m_px
double LArFCalSamplingFraction::m_px {} |
|
private |
◆ m_py
double LArFCalSamplingFraction::m_py {} |
|
private |
◆ m_pz
double LArFCalSamplingFraction::m_pz {} |
|
private |
◆ m_runNumber
unsigned int LArFCalSamplingFraction::m_runNumber {} |
|
private |
◆ m_TCIron_E
double LArFCalSamplingFraction::m_TCIron_E {} |
|
private |
◆ m_TCScint_E
double LArFCalSamplingFraction::m_TCScint_E {} |
|
private |
◆ m_totalActiveEnergy
double LArFCalSamplingFraction::m_totalActiveEnergy {} |
|
private |
◆ m_totalCalibrationEnergy
double LArFCalSamplingFraction::m_totalCalibrationEnergy {} |
|
private |
◆ m_totalDeadMaterialEnergy
double LArFCalSamplingFraction::m_totalDeadMaterialEnergy {} |
|
private |
◆ m_totalEmEnergy
double LArFCalSamplingFraction::m_totalEmEnergy {} |
|
private |
◆ m_totalEscapedEnergy
double LArFCalSamplingFraction::m_totalEscapedEnergy {} |
|
private |
◆ m_totalFCal1CalibrationEnergy
double LArFCalSamplingFraction::m_totalFCal1CalibrationEnergy {} |
|
private |
◆ m_totalFCal2CalibrationEnergy
double LArFCalSamplingFraction::m_totalFCal2CalibrationEnergy {} |
|
private |
◆ m_totalFCal3CalibrationEnergy
double LArFCalSamplingFraction::m_totalFCal3CalibrationEnergy {} |
|
private |
◆ m_totalFCalCalibrationEnergy
double LArFCalSamplingFraction::m_totalFCalCalibrationEnergy {} |
|
private |
◆ m_totalFCalEnergy
double LArFCalSamplingFraction::m_totalFCalEnergy {} |
|
private |
◆ m_totalInactiveEnergy
double LArFCalSamplingFraction::m_totalInactiveEnergy {} |
|
private |
◆ m_totalInvisibleEnergy
double LArFCalSamplingFraction::m_totalInvisibleEnergy {} |
|
private |
◆ m_totalNonEmEnergy
double LArFCalSamplingFraction::m_totalNonEmEnergy {} |
|
private |
◆ m_tree_AS
TTree* LArFCalSamplingFraction::m_tree_AS {} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vertex_eta
double LArFCalSamplingFraction::m_vertex_eta {} |
|
private |
◆ m_vertex_phi
double LArFCalSamplingFraction::m_vertex_phi {} |
|
private |
◆ m_vertx
double LArFCalSamplingFraction::m_vertx {} |
|
private |
◆ m_verty
double LArFCalSamplingFraction::m_verty {} |
|
private |
◆ m_vertz
double LArFCalSamplingFraction::m_vertz {} |
|
private |
◆ m_vhka
◆ m_x_cc1
double LArFCalSamplingFraction::m_x_cc1 {} |
|
private |
◆ m_x_cc2
double LArFCalSamplingFraction::m_x_cc2 {} |
|
private |
◆ m_x_cc3
double LArFCalSamplingFraction::m_x_cc3 {} |
|
private |
◆ m_x_mc_cc1
double LArFCalSamplingFraction::m_x_mc_cc1 {} |
|
private |
◆ m_x_mc_cc2
double LArFCalSamplingFraction::m_x_mc_cc2 {} |
|
private |
◆ m_x_mc_cc3
double LArFCalSamplingFraction::m_x_mc_cc3 {} |
|
private |
◆ m_y_cc1
double LArFCalSamplingFraction::m_y_cc1 {} |
|
private |
◆ m_y_cc2
double LArFCalSamplingFraction::m_y_cc2 {} |
|
private |
◆ m_y_cc3
double LArFCalSamplingFraction::m_y_cc3 {} |
|
private |
◆ m_y_mc_cc1
double LArFCalSamplingFraction::m_y_mc_cc1 {} |
|
private |
◆ m_y_mc_cc2
double LArFCalSamplingFraction::m_y_mc_cc2 {} |
|
private |
◆ m_y_mc_cc3
double LArFCalSamplingFraction::m_y_mc_cc3 {} |
|
private |
The documentation for this class was generated from the following files:
const LArFCAL_ID * m_larFCalID
def retrieve(aClass, aKey=None)
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
double m_totalDeadMaterialEnergy
int dmat(const Identifier &id) const
return DMtype according to :
Const iterator class for DataVector/DataList.
std::vector< double > * m_hit_y2
double energyNonEM() const
bool is_lar_fcal(Identifier id) const
std::vector< double > * m_hit_ieta2
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
double m_totalInvisibleEnergy
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
StatusCode doFCal()
The main FCal analysis method.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
void FCalCalibAnalysis(const std::string &name, const CaloCalibrationHit *CalibHit)
FCal Analysis with Calibration Hits on Added by JPA, June 2005.
std::vector< SG::VarHandleKeyArray * > m_vhka
int module(const Identifier id) const
module [1,3]
const CaloDM_ID * getDM_ID(void) const
double energyTotal() const
void TruthImpactPosition(const HepMC::GenEvent *e)
Calculate truth impact position.
std::vector< double > * m_hit_x1
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
std::vector< double > * m_hit_y1
void FCalClusterCenter(const LArHitContainer *container, const CaloDetDescrManager *caloMgr)
Calculate FCal cluster center.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
double m_totalFCal2CalibrationEnergy
virtual StatusCode sysInitialize() override
Override sysInitialize.
double m_totalFCalCalibrationEnergy
void FillCellInfo(const CaloDetDescrElement *caloDDE, double energy, std::vector< double > *cell_E, std::vector< double > *hit_x, std::vector< double > *hit_y, std::vector< double > *hit_ieta, std::vector< double > *hit_iphi, int &NCell)
Fill FCal cell information.
This class initializes the Calo (LAr and Tile) offline identifiers.
std::vector< double > * m_hit_x3
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< double > * m_cell1_E
double m_totalInactiveEnergy
const LArFCAL_ID * getFCAL_ID(void) const
StatusCode addEventInfo()
methods called by execute()
const CaloCell_ID * m_caloCellID
bool is_lar(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
std::vector< double > * m_hit_iphi3
double energyInvisible() const
#define CHECK(...)
Evaluate an expression and check for errors.
double m_totalNonEmEnergy
double m_totalFCal3CalibrationEnergy
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
bool is_lar_fcal() const
cell belongs to FCAL
Identifier cellID() const
unsigned int m_eventNumber
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::vector< double > * m_hit_ieta3
Class to store calorimeter calibration hit.
double m_FCalActiveEscaped
const CaloCell_ID * getCaloCell_ID(void) const
Access to IdHelper.
void FCalHitCenter(const LArHitContainer *container, const CaloDetDescrManager *caloMgr)
Calculate FCal hit center.
StatusCode initialize(bool used=true)
int sampling(const Identifier &id) const
return sampling according to :
Class to store hit energy and time in LAr cell from G4 simulation.
DataObjIDColl m_extendedExtraObjects
virtual StatusCode initEvent()
Init event.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
virtual int getLayer() const
cell layer
std::vector< double > * m_hit_ieta1
This class provides the client interface for accessing the detector description information common to...
std::vector< double > * m_hit_y3
StatusCode doCalib()
Calibration hit analysis.
std::vector< double > * m_hit_iphi2
#define ATH_MSG_WARNING(x)
double m_totalFCal1CalibrationEnergy
const CaloDM_ID * m_caloDmID
double m_totalEscapedEnergy
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
std::vector< double > * m_hit_iphi1
AthAlgorithm()
Default constructor:
std::vector< int > * m_pdg_id
double m_FCalActiveInvisible
std::vector< double > * m_hit_x2
double m_totalActiveEnergy
double m_totalCalibrationEnergy
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
std::vector< double > * m_cell3_E
m_calibHitMap_t m_calibHitMap
double energyEscaped() const
TTree * m_tree_AS
Athena-Aware Ntuple (AAN) variables - branches of the AAN TTree.
std::vector< double > * m_cell2_E