|
ATLAS Offline Software
|
#include <JetTileCorrectionTool.h>
|
| JetTileCorrectionTool (const std::string &name) |
| Create a proper constructor for Athena. More...
|
|
virtual | ~JetTileCorrectionTool () |
| Destructor: More...
|
|
virtual StatusCode | initialize () |
| Function initialising the tool. More...
|
|
virtual CorrectionCode | applyCorrection (xAOD::Jet &object) |
| Apply the correction on a modifyable object. More...
|
|
virtual CorrectionCode | correctedCopy (const xAOD::Jet &input, xAOD::Jet *&output) |
| Create a corrected copy from a constant jet. More...
|
|
virtual bool | isAffectedBySystematic (const SystematicVariation &systematic) const |
| returns: whether this tool is affected by the given systematic More...
|
|
virtual SystematicSet | affectingSystematics () const |
| returns: the list of all systematics this tool can be affected by More...
|
|
virtual SystematicSet | recommendedSystematics () const |
| returns: the list of all systematics this tool recommends to use More...
|
|
const CP::SystematicSet & | appliedSystematics () const |
| returns: the currently applied systematics More...
|
|
virtual StatusCode | applySystematicVariation (const SystematicSet &systConfig) |
| effects: configure this tool for the given list of systematic variations. More...
|
|
StatusCode | registerSystematics () |
|
JTC::TS | getTileStatus (const xAOD::Jet &jet) |
|
StatusCode | addTileStatus (const xAOD::Jet &jet) |
|
void | setRJET (float r) |
|
virtual void | print () const =0 |
| Print the state of the tool. More...
|
|
virtual StatusCode | sysInitialize () |
| Function initialising the tool in the correct way in Athena. More...
|
|
virtual void | print () const |
| Print the state of the tool. 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 |
|
|
void | loadDeadUser () |
|
void | loadDeadDB () |
|
std::vector< float > | getCorrections (const xAOD::Jet &j) |
|
JTC::TS | overlap (const xAOD::Jet &j, JTC::Hole region) |
|
int | getPtBin (float pt) |
|
bool | inIOV (JTC::Hole region, int run) |
|
bool | inHole (const xAOD::Jet &j, JTC::Hole rdead) |
|
bool | inHole (float eta, float phi, JTC::Hole rdead) |
|
IPair | getModulePosition (const xAOD::Jet &jet, JTC::Hole module) |
|
void | loadModulesFromMap (const xAOD::Jet &jet, JTC::TS &status, const std::map< std::string, JTC::Hole > &hmap, JTC::PART part=JTC::PART::LB, JTC::TYPE type=JTC::TYPE::DB) |
|
StatusCode | loadAllModules (const xAOD::Jet &jet, JTC::TS &status) |
|
JTC::Hole | partModToHole (int part, int mod) |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
Definition at line 44 of file JetTileCorrectionTool.h.
◆ MetaStore_t
◆ MetaStorePtr_t
Type of the metadata store pointer in standalone mode.
Definition at line 68 of file AsgMetadataTool.h.
◆ StoreGateSvc_t
◆ JetTileCorrectionTool()
CP::JetTileCorrectionTool::JetTileCorrectionTool |
( |
const std::string & |
name | ) |
|
◆ ~JetTileCorrectionTool()
CP::JetTileCorrectionTool::~JetTileCorrectionTool |
( |
| ) |
|
|
virtual |
◆ addTileStatus()
StatusCode CP::JetTileCorrectionTool::addTileStatus |
( |
const xAOD::Jet & |
jet | ) |
|
|
virtual |
◆ affectingSystematics()
SystematicSet CP::JetTileCorrectionTool::affectingSystematics |
( |
| ) |
const |
|
virtual |
◆ appliedSystematics()
◆ applyCorrection()
◆ applySystematicVariation()
StatusCode CP::JetTileCorrectionTool::applySystematicVariation |
( |
const SystematicSet & |
systConfig | ) |
|
|
virtual |
effects: configure this tool for the given list of systematic variations.
any requested systematics that are not affecting this tool will be silently ignored (unless they cause other errors). failures: systematic unknown failures: requesting multiple variations on the same systematic (e.g. up & down) failures: requesting an unsupported variation on an otherwise supported systematic (e.g. a 2 sigma variation and the tool only supports 1 sigma variations) failures: unsupported combination of supported systematic failures: other tool specific errors
Implements CP::ISystematicsTool.
Definition at line 242 of file JetTileCorrectionTool.cxx.
254 ATH_MSG_ERROR(
"Unsupported combination of systematics passed to the tool!");
255 return StatusCode::FAILURE;
259 itr =
m_systFilter.insert(std::make_pair(systConfig, filteredSys)).first;
264 return StatusCode::SUCCESS;
◆ beginEvent()
StatusCode asg::AsgMetadataTool::beginEvent |
( |
| ) |
|
|
protectedvirtualinherited |
Function called when a new events is loaded.
Dummy implementation that can be overridden by the derived tool.
Reimplemented in AsgElectronEfficiencyCorrectionTool, TrigConf::xAODConfigTool, TauAnalysisTools::TauSelectionTool, TauAnalysisTools::DiTauSelectionTool, TauAnalysisTools::CommonSmearingTool, TauAnalysisTools::DiTauEfficiencyCorrectionsTool, Trig::TrigDecisionTool, TauAnalysisTools::TauEfficiencyCorrectionsTool, Trig::TrigConfBunchCrossingTool, xAODMaker::TriggerMenuMetaDataTool, and Trig::xAODBunchCrossingTool.
Definition at line 196 of file AsgMetadataTool.cxx.
199 return StatusCode::SUCCESS;
◆ beginInputFile()
StatusCode asg::AsgMetadataTool::beginInputFile |
( |
| ) |
|
|
protectedvirtualinherited |
Function called when a new input file is opened.
Dummy implementation that can be overridden by the derived tool.
Reimplemented in AsgElectronEfficiencyCorrectionTool, TrigConf::xAODConfigTool, PMGTools::PMGTruthWeightTool, BookkeeperTool, xAODMaker::FileMetaDataTool, BookkeeperDumperTool, Trig::TrigDecisionTool, xAODMaker::TriggerMenuMetaDataTool, xAODMaker::TruthMetaDataTool, Trig::xAODBunchCrossingTool, TauAnalysisTools::TauEfficiencyCorrectionsTool, and TauAnalysisTools::TauSmearingTool.
Definition at line 180 of file AsgMetadataTool.cxx.
183 return StatusCode::SUCCESS;
◆ correctedCopy()
◆ 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()
◆ endInputFile()
StatusCode asg::AsgMetadataTool::endInputFile |
( |
| ) |
|
|
protectedvirtualinherited |
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ 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
◆ getCorrections()
std::vector< float > CP::JetTileCorrectionTool::getCorrections |
( |
const xAOD::Jet & |
j | ) |
|
|
private |
Definition at line 535 of file JetTileCorrectionTool.cxx.
537 float ptlast =
jet.pt();
544 std::vector<float> corrections = {};
546 if (ptbin < 0)
return corrections;
549 if (ptlast < 40000)
return corrections;
567 if (region.status == TS::CORE) clast =
m_pars_LB[region.ep.first +
Pix_eta * region.ep.second]->GetBinContent(ptbin) +
sigma *
m_core_sys_LB->GetBinContent(ptbin_sys);
574 if (region.status == TS::CORE) clast =
m_pars_EB[region.ep.first +
Pix_eta * region.ep.second]->GetBinContent(ptbin) +
sigma *
m_core_sys_EB->GetBinContent(ptbin_sys);
580 corrections.push_back(clast);
◆ getKey()
Get the (hashed) key of an object that is in the event store.
This is a bit of a special one. StoreGateSvc
and xAOD::TEvent
both provide ways for getting the SG::sgkey_t
key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getName
- Parameters
-
ptr | The bare pointer to the object that the event store should know about |
- Returns
- The hashed key of the object in the store. If not found, an invalid (zero) key.
Definition at line 119 of file AsgTool.cxx.
121 #ifdef XAOD_STANDALONE
127 return (
proxy ==
nullptr ? 0 :
proxy->sgkey() );
128 #endif // XAOD_STANDALONE
◆ getModulePosition()
Definition at line 412 of file JetTileCorrectionTool.cxx.
420 float eta_dist = jet_eta-
eta;
425 if(std::abs(phi_dist)<0.05){ inphi=0; }
426 else if(std::abs(phi_dist)<0.1){ inphi=1; }
427 else if(std::abs(phi_dist)<0.2){ inphi=2; }
428 else if(std::abs(phi_dist)<0.3){ inphi=3; }
429 else if(std::abs(phi_dist)<0.4){ inphi=4; }
433 int ineta = (
int)ieta;
437 if(
mod.eta1 < -0.1) ineta = -ineta;
439 return std::make_pair(ineta+8, inphi);
◆ getName()
const std::string & asg::AsgTool::getName |
( |
const void * |
ptr | ) |
const |
|
inherited |
Get the name of an object that is / should be in the event store.
This is a bit of a special one. StoreGateSvc
and xAOD::TEvent
both provide ways for getting the std::string
name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getKey
- Parameters
-
ptr | The bare pointer to the object that the event store should know about |
- Returns
- The string name of the object in the store. If not found, an empty string.
Definition at line 106 of file AsgTool.cxx.
108 #ifdef XAOD_STANDALONE
114 static const std::string
dummy =
"";
116 #endif // XAOD_STANDALONE
◆ getProperty()
template<class T >
const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ getPtBin()
int CP::JetTileCorrectionTool::getPtBin |
( |
float |
pt | ) |
|
|
private |
◆ getTileStatus()
◆ handle()
void asg::AsgMetadataTool::handle |
( |
const Incident & |
inc | ) |
|
|
protectedvirtualinherited |
Function receiving incidents from IncidentSvc/TEvent.
Reimplemented in Trig::TrigDecisionTool.
Definition at line 130 of file AsgMetadataTool.cxx.
136 if( inc.type() == IncidentType::BeginInputFile ) {
140 throw std::runtime_error(
"Couldn't call beginInputFile()" );
142 }
else if( inc.type() == IncidentType::EndInputFile ) {
145 throw std::runtime_error(
"Couldn't call endInputFile()" );
147 }
else if( inc.type() == IncidentType::BeginEvent ) {
155 throw std::runtime_error(
"Couldn't call beginInputFile()" );
160 throw std::runtime_error(
"Couldn't call beginEvent()" );
163 #ifdef XAOD_STANDALONE
164 }
else if( inc.type() == IncidentType::MetaDataStop ) {
167 throw std::runtime_error(
"Couldn't call metaDataStop()" );
170 #endif // XAOD_STANDALONE
172 ATH_MSG_WARNING(
"Unknown incident type received in AsgMetaDataTool: " << inc.type() );
◆ inHole() [1/2]
◆ inHole() [2/2]
bool CP::JetTileCorrectionTool::inHole |
( |
float |
eta, |
|
|
float |
phi, |
|
|
JTC::Hole |
rdead |
|
) |
| |
|
private |
◆ inIOV()
bool CP::JetTileCorrectionTool::inIOV |
( |
JTC::Hole |
region, |
|
|
int |
run |
|
) |
| |
|
private |
◆ initialize()
StatusCode CP::JetTileCorrectionTool::initialize |
( |
| ) |
|
|
virtual |
Function initialising the tool.
Reimplemented from asg::AsgTool.
Definition at line 61 of file JetTileCorrectionTool.cxx.
66 #ifdef XAOD_STANDALONE
74 std::string projectName =
"";
76 if ( projectName ==
"IS_SIMULATION" )
m_isMC =
true;
77 else if (projectName.compare(0, 4,
"data") == 0 )
m_isMC =
false;
97 return StatusCode::FAILURE;
107 for(
unsigned int ieta=0; ieta <
Pix_eta ; ieta++){
108 for(
unsigned int iphi=0; iphi <
Pix_phi ; iphi++){
109 sub = Form(
"_%d_%d",ieta,iphi);
130 ATH_MSG_ERROR(
"Loading the central value systematic set failed.");
131 return StatusCode::FAILURE;
135 if (
registry.registerSystematics(*
this) != StatusCode::SUCCESS){
137 return StatusCode::FAILURE;
143 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.
◆ inputMetaStore()
AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::inputMetaStore |
( |
| ) |
const |
|
inherited |
Accessor for the input metadata store.
Definition at line 88 of file AsgMetadataTool.cxx.
90 #ifdef XAOD_STANDALONE
92 #else // XAOD_STANDALONE
94 #endif // XAOD_STANDALONE
◆ isAffectedBySystematic()
◆ loadAllModules()
◆ loadDeadDB()
void CP::JetTileCorrectionTool::loadDeadDB |
( |
| ) |
|
|
private |
Definition at line 338 of file JetTileCorrectionTool.cxx.
343 std::vector<Hole> dbholes={};
374 std::ifstream mapFile;
375 mapFile.open(mapFilename);
378 while (std::getline(mapFile,
line)){
380 if(
line[0]==
'#')
continue;
382 std::istringstream iss(
line);
389 rdead.
iov = std::make_pair(irun,erun);
390 dbholes.push_back( rdead );
396 for(
const auto&
h : dbholes){
397 if(std::abs(
h.eta1)>1 || std::abs(
h.eta2)>1){
407 ATH_MSG_DEBUG(
"Adding DB dead module at (eta1,phi1)=(" <<
h.eta1 <<
"," <<
h.phi1 <<
")");
◆ loadDeadUser()
void CP::JetTileCorrectionTool::loadDeadUser |
( |
| ) |
|
|
private |
Definition at line 287 of file JetTileCorrectionTool.cxx.
295 std::stringstream
ss(
r);
298 std::vector<std::string>
tokens;
299 while (getline(
ss,
s,
' ')) {
304 ATH_MSG_ERROR(
"Part-Module pair " <<
r <<
" not known! Please use \"PART MOD\" format ");
310 if (
tokens.at(0).find(
'B') != std::string::npos)
322 ATH_MSG_ERROR(
"Part-Module pair " <<
r <<
" not known! Please use \"PART MOD\" format ");
◆ loadModulesFromMap()
◆ metaDataStop()
StatusCode asg::AsgMetadataTool::metaDataStop |
( |
| ) |
|
|
protectedvirtualinherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msg_level_name()
const std::string & asg::AsgTool::msg_level_name |
( |
| ) |
const |
|
inherited |
A deprecated function for getting the message level's name.
Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:
MSG::name( msg().level() )
This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.
- Returns
- The string name of the current minimum message level that's printed
Definition at line 101 of file AsgTool.cxx.
◆ 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.
◆ outputMetaStore()
AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::outputMetaStore |
( |
| ) |
const |
|
inherited |
Accessor for the output metadata store.
Definition at line 97 of file AsgMetadataTool.cxx.
99 #ifdef XAOD_STANDALONE
101 #else // XAOD_STANDALONE
103 #endif // XAOD_STANDALONE
◆ overlap()
◆ partModToHole()
Hole CP::JetTileCorrectionTool::partModToHole |
( |
int |
part, |
|
|
int |
mod |
|
) |
| |
|
private |
Definition at line 619 of file JetTileCorrectionTool.cxx.
622 region.
iov = std::make_pair(0,1000000);
642 std::cout<<
"Bad partition value passed!\n";
658 std::cout<<
"Bad module value passed!\n";
◆ print() [1/2]
void asg::AsgTool::print |
( |
| ) |
const |
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
Definition at line 131 of file AsgTool.cxx.
◆ print() [2/2]
virtual void asg::IAsgTool::print |
( |
| ) |
const |
|
pure virtualinherited |
Print the state of the tool.
Implemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, asg::AsgTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
◆ recommendedSystematics()
SystematicSet CP::JetTileCorrectionTool::recommendedSystematics |
( |
| ) |
const |
|
virtual |
◆ registerSystematics()
StatusCode CP::JetTileCorrectionTool::registerSystematics |
( |
| ) |
|
◆ renounce()
◆ renounceArray()
◆ setRJET()
void CP::JetTileCorrectionTool::setRJET |
( |
float |
r | ) |
|
|
virtual |
◆ setUseIncidents()
void asg::AsgMetadataTool::setUseIncidents |
( |
const bool |
flag | ) |
|
|
inlineprotectedinherited |
◆ sysInitialize()
StatusCode asg::AsgMetadataTool::sysInitialize |
( |
| ) |
|
|
virtualinherited |
Function initialising the tool in the correct way in Athena.
This function is used to set up the callbacks from IncidentSvc in Athena at the right time during initialisation, without the user having to do anything special in his/her code.
Reimplemented from AthCommonDataStore< AthCommonMsg< AlgTool > >.
Definition at line 110 of file AsgMetadataTool.cxx.
112 #ifndef XAOD_STANDALONE
119 incSvc->addListener(
this, IncidentType::BeginEvent, 0,
false );
124 #endif // not XAOD_STANDALONE
127 return StatusCode::SUCCESS;
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_appliedSystematics
◆ m_bd_dead_mapFile
std::string CP::JetTileCorrectionTool::m_bd_dead_mapFile |
|
private |
◆ m_beginInputFileCalled
bool asg::AsgMetadataTool::m_beginInputFileCalled |
|
privateinherited |
Flag helping to discover when the tool misses the opening of the first input file.
Definition at line 126 of file AsgMetadataTool.h.
◆ m_constScale
bool CP::JetTileCorrectionTool::m_constScale = false |
|
private |
◆ m_core_sys_EB
TH1F* CP::JetTileCorrectionTool::m_core_sys_EB = 0 |
|
private |
◆ m_core_sys_LB
TH1F* CP::JetTileCorrectionTool::m_core_sys_LB = 0 |
|
private |
◆ m_current_run
int CP::JetTileCorrectionTool::m_current_run = -1 |
|
private |
◆ m_db_dead_EB
std::map<std::string,JTC::Hole> CP::JetTileCorrectionTool::m_db_dead_EB |
|
private |
◆ m_db_dead_LB
std::map<std::string,JTC::Hole> CP::JetTileCorrectionTool::m_db_dead_LB |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_inputMetaStore
◆ m_isData
bool CP::JetTileCorrectionTool::m_isData |
|
protected |
◆ m_isMC
bool CP::JetTileCorrectionTool::m_isMC = false |
|
private |
◆ m_NbinsPt
int CP::JetTileCorrectionTool::m_NbinsPt = -1 |
|
private |
◆ m_outputMetaStore
◆ m_pars_EB
std::map<int,TH1F*> CP::JetTileCorrectionTool::m_pars_EB |
|
private |
◆ m_pars_LB
std::map<int,TH1F*> CP::JetTileCorrectionTool::m_pars_LB |
|
private |
◆ m_position_masked
std::vector<JTC::Region> CP::JetTileCorrectionTool::m_position_masked |
|
private |
◆ m_RJET
float CP::JetTileCorrectionTool::m_RJET |
|
private |
◆ m_rootFile
TFile* CP::JetTileCorrectionTool::m_rootFile = 0 |
|
private |
◆ m_rootFileName
std::string CP::JetTileCorrectionTool::m_rootFileName |
|
private |
◆ m_systFilter
◆ m_useIncidents
bool asg::AsgMetadataTool::m_useIncidents |
|
privateinherited |
◆ m_user_dead_EB
std::map<std::string,JTC::Hole> CP::JetTileCorrectionTool::m_user_dead_EB |
|
private |
◆ m_user_dead_LB
std::map<std::string,JTC::Hole> CP::JetTileCorrectionTool::m_user_dead_LB |
|
private |
◆ m_v_user_dead
std::vector<std::string> CP::JetTileCorrectionTool::m_v_user_dead |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
std::pair< int, int > iov
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Class to wrap a set of SystematicVariations.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
JetFourMom_t jetP4() const
The full 4-momentum of the particle : internal jet type.
#define ATH_MSG_VERBOSE(x)
__HOSTDEV__ double Phi_mpi_pi(double)
@ IS_SIMULATION
true: simulation, false: data
float getParameterByBaseName(const std::string &basename) const
returns: the parameter value for the given basename
modname
print (" ==> moduletype")
uint32_t runNumber() const
The current event's run number.
virtual void setOwner(IDataHandleHolder *o)=0
@ JetConstitScaleMomentum
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
@ OutOfValidityRange
Input object is out of validity range.
@ Error
Some error happened during the object correction.
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Class describing the basic event information.
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
@ Ok
The correction was done successfully.
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
static StatusCode filterForAffectingSystematics(const SystematicSet &systConfig, const SystematicSet &affectingSystematics, SystematicSet &filteredSystematics)
description: filter the systematics for the affected systematics returns: success guarantee: strong f...
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.
static std::string retrieveMetadata(const std::string &folder, const std::string &key, const ServiceHandle< StoreGateSvc > &inputMetaStore)
method that always returns as a string you can use from, e.g, pyROOT with evt = ROOT....