10AsgDeadHVCellRemovalTool::AsgDeadHVCellRemovalTool(
const std::string& myname) :
17 return StatusCode::SUCCESS ;
21 return StatusCode::SUCCESS;
41 static const SG::AuxElement::ConstAccessor<unsigned int> randomrunnumber(
"RandomRunNumber");
42 static const SG::AuxElement::ConstAccessor<unsigned int> datarunnumber(
"runNumber");
44 if(!isSimul&& datarunnumber.isAvailable(*eventInfo) ){
47 else if(isSimul && randomrunnumber.isAvailable(*eventInfo) ){
51 ATH_MSG_ERROR (
"Failed, to retrieve the proper run number from event info");
66 if ( eta_calo > - 1.825
68 && phi_calo > -1.104921
69 && phi_calo < -0.956748){
77 if ( eta_calo > - 1.825
79 && phi_calo > -1.104921
80 && phi_calo < -0.956748){
84 if ( eta_calo> - 1.825
86 && phi_calo > 1.054922
87 && phi_calo < 1.203097){
95 if ( eta_calo > -2.050
ServiceHandle< StoreGateSvc > & evtStore()
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
@ ETACALOFRAME
Eta in the calo frame (for egamma).
@ PHICALOFRAME
Phi in the calo frame (for egamma).
const xAOD::CaloCluster * caloCluster(size_t index=0) const
Pointer to the xAOD::CaloCluster/s that define the electron candidate.
bool eventType(EventType type) const
Check for one particular bitmask value.
@ IS_SIMULATION
true: simulation, false: data
static std::vector< uint32_t > runnumber
EventInfo_v1 EventInfo
Definition of the latest event info version.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Egamma_v1 Egamma
Definition of the current "egamma version".