9#ifndef CALOCONDPHYSALGS_LARMINBIASALG_H
10#define CALOCONDPHYSALGS_LARMINBIASALG_H
17#include "GaudiKernel/ToolHandle.h"
36#define MAX_SYM_CELLS 3000
42 LArMinBiasAlg(
const std::string& name, ISvcLocator* pSvcLocator);
47 virtual StatusCode
execute()
override;
48 virtual StatusCode
stop()
override;
54 void addCell(
int index,
double e1,
double e2,
double wt=1. );
64 {
this,
"MCSymKey",
"LArMCSym",
"SG Key of LArMCSym object" };
68 ,
"CaloDetDescrManager"
69 ,
"CaloDetDescrManager"
70 ,
"SG Key for CaloDetDescrManager in the Condition Store" };
73 ,
"CaloSuperCellDetDescrManager"
74 ,
"CaloSuperCellDetDescrManager"
75 ,
"SG Key for CaloSuperCellDetDescrManager in the Condition Store" };
119 StringArrayProperty
m_inputKeys{
this,
"InputHitContainers", {
"LArHitEMB",
"LArHitEMEC",
"LArHitHEC",
"LArHitFCAL"},
120 "Name of input hit vectors (default=[LArHitEMB, LArHitEMEC, LArHitHEC, LArHitFCAL])" };
122 BooleanProperty
m_isSC {
this,
"SuperCell",
false,
"Creating for SC ?"};
123 ToolHandle<ICaloSuperCellIDTool>
m_scidtool{
this,
"CaloSuperCellIDTool",
"CaloSuperCellIDTool",
"Offline / SuperCell ID mapping tool"};
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Helper base class for offline cell identifiers.
Helper class for offline cell identifiers.
Helper class for LArEM offline identifiers.
std::vector< CellInfo > m_CellList
double m_average[MAX_SYM_CELLS]
virtual StatusCode initialize() override
Gaudi::Property< int > m_datasetID_lowPt
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
double m_rms[MAX_SYM_CELLS]
SG::ReadHandleKeyArray< LArHitContainer > m_larHitKeys
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
double m_offset[MAX_SYM_CELLS]
int m_region[MAX_SYM_CELLS]
std::vector< int > m_symCellIndex
double m_nevt[MAX_SYM_CELLS]
Gaudi::Property< double > m_weight_lowPt
Gaudi::Property< int > m_datasetID_highPt
int m_layer[MAX_SYM_CELLS]
virtual StatusCode execute() override
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
ToolHandle< ICaloSuperCellIDTool > m_scidtool
StringArrayProperty m_inputKeys
SG::ReadCondHandleKey< LArMCSym > m_mcSymKey
std::vector< double > m_eCell
float m_eta[MAX_SYM_CELLS]
virtual StatusCode stop() override
const CaloCell_Base_ID * m_calo_id
LArMinBiasAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Gaudi::Property< double > m_weight_highPt
~LArMinBiasAlg()
Default Destructor.
float m_phi[MAX_SYM_CELLS]
ServiceHandle< ITHistSvc > m_thistSvc
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSCMgrKey
void addCell(int index, double e1, double e2, double wt=1.)
int m_ieta[MAX_SYM_CELLS]
int m_identifier[MAX_SYM_CELLS]
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray