|
ATLAS Offline Software
|
#include <JetCalibrationTool.h>
|
| JetCalibrationTool (const std::string &name="JetCalibrationTool") |
| Constructor with parameters: More...
|
|
| ~JetCalibrationTool () |
| Destructor: More...
|
|
StatusCode | initialize () override |
| Dummy implementation of the initialisation function. More...
|
|
StatusCode | applyCalibration (xAOD::JetContainer &) const override |
| Apply calibration to a jet container. More...
|
|
StatusCode | getNominalResolutionData (const xAOD::Jet &jet, double &resolution) const override |
|
StatusCode | getNominalResolutionMC (const xAOD::Jet &jet, double &resolution) const override |
|
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 | sysInitialize () override |
| Perform system initialization for an algorithm. 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 |
|
virtual StatusCode | modify (xAOD::JetContainer &jets) const override final |
| Apply calibration to a jet container (for IJetModifier interface). More...
|
|
Definition at line 32 of file JetCalibrationTool.h.
◆ StoreGateSvc_t
◆ jetScale
◆ JetCalibrationTool()
JetCalibrationTool::JetCalibrationTool |
( |
const std::string & |
name = "JetCalibrationTool" | ) |
|
◆ ~JetCalibrationTool()
JetCalibrationTool::~JetCalibrationTool |
( |
| ) |
|
◆ applyCalibration()
◆ calibrate()
Definition at line 558 of file JetCalibrationTool.cxx.
562 if ( !
jet.getAttribute<
int>(
"OriginCorrected",
tmp) )
563 jet.setAttribute<
int>(
"OriginCorrected",
false);
564 if ( !
jet.getAttribute<
int>(
"PileupCorrected",
tmp) )
565 jet.setAttribute<
int>(
"PileupCorrected",
false);
570 jet.setAttribute<
float>(
"DetectorEta",jetconstitP4.eta());
575 return StatusCode::SUCCESS;
◆ 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()
◆ 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
◆ getCalibClass()
StatusCode JetCalibrationTool::getCalibClass |
( |
const TString & |
calibration | ) |
|
|
private |
Definition at line 227 of file JetCalibrationTool.cxx.
230 if ( calibration.EqualTo(
"Bcid") ){
231 m_globalConfig->SetValue(
"PileupStartingScale",
"JetBcidScaleMomentum");
232 std::unique_ptr<JetCalibrationStep> bcidCorr = std::make_unique<BcidOffsetCorrection>(this->
name()+
"_Bcid",
m_globalConfig, jetAlgo, calibPath,
m_isData);
235 return StatusCode::SUCCESS;
237 else if ( calibration.EqualTo(
"JetArea") || calibration.EqualTo(
"Residual") ) {
238 std::unique_ptr<JetCalibrationStep> puCorr = std::make_unique<JetPileupCorrection>(this->
name()+
"_Pileup",
m_globalConfig, jetAlgo, calibPath,
243 return StatusCode::SUCCESS;
245 else if ( calibration.EqualTo(
"EtaJES") || calibration.EqualTo(
"AbsoluteEtaJES") ) {
246 std::unique_ptr<JetCalibrationStep> etaJESCorr = std::make_unique<EtaJESCorrection>(this->
name()+
"_EtaJES",
m_globalConfig, jetAlgo, calibPath,
false,
m_devMode);
250 return StatusCode::SUCCESS;
252 else if ( calibration.EqualTo(
"EtaMassJES") ) {
253 std::unique_ptr<JetCalibrationStep> etaJESCorr = std::make_unique<EtaJESCorrection>(this->
name()+
"_EtaMassJES",
m_globalConfig, jetAlgo, calibPath,
true,
m_devMode);
257 return StatusCode::SUCCESS;
259 else if ( calibration.EqualTo(
"GSC") ) {
264 return StatusCode::SUCCESS;
266 else if ( calibration.EqualTo(
"GNNC") ) {
267 std::unique_ptr<JetCalibrationStep> gnnc = std::make_unique<GlobalNNCalibration>(this->
name()+
"_GNNC",
m_globalConfig,jetAlgo,calibPath,
m_devMode);
271 return StatusCode::SUCCESS;
273 else if ( calibration.EqualTo(
"JMS") ) {
274 std::unique_ptr<JetCalibrationStep> jetMassCorr = std::make_unique<JMSCorrection>(this->
name()+
"_JMS",
m_globalConfig, jetAlgo, calibPath,
m_devMode);
275 jetMassCorr->
msg().setLevel( this->
msg().
level() );
278 return StatusCode::SUCCESS;
280 else if ( calibration.EqualTo(
"InsituCombinedMass") ){
283 jetMassCorr->
msg().setLevel( this->
msg().
level() );
287 return StatusCode::SUCCESS;
289 else if ( calibration.EqualTo(
"Insitu") ) {
291 std::unique_ptr<JetCalibrationStep> insituDataCorr = std::make_unique<InsituDataCorrection>(this->
name()+
"_Insitu",
m_globalConfig, jetAlgo, calibPath,
m_devMode);
292 insituDataCorr->
msg().setLevel( this->
msg().
level() );
295 return StatusCode::SUCCESS;
298 ATH_MSG_INFO(
"Initializing Time-Dependent Insitu Corrections");
301 unsigned int firstRun =
static_cast<unsigned int>(
m_runBins.at(
i)+1.5);
305 insituDataCorr->
msg().setLevel( this->
msg().
level() );
309 return StatusCode::SUCCESS;
312 else if ( calibration.EqualTo(
"Smear") ) {
314 ATH_MSG_FATAL(
"Asked for smearing of data, which is not supported. Aborting.");
315 return StatusCode::FAILURE;
317 std::unique_ptr<JetCalibrationStep> jetSmearCorr = std::make_unique<JetSmearingCorrection>(this->
name()+
"_Smear",
m_globalConfig,jetAlgo,calibPath,
m_devMode);
322 return StatusCode::SUCCESS;
324 else if ( calibration.EqualTo(
"LargeRDNN") ) {
325 std::unique_ptr<JetCalibrationStep> largeR_dnn = std::make_unique<GlobalLargeRDNNCalibration>(this->
name()+
"_R10DNN",
m_globalConfig,calibPath,
m_devMode);
329 return StatusCode::SUCCESS;
331 ATH_MSG_FATAL(
"Calibration string not recognized: " << calibration <<
", aborting.");
332 return StatusCode::FAILURE;
◆ 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
◆ 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
◆ getNominalResolutionData()
StatusCode JetCalibrationTool::getNominalResolutionData |
( |
const xAOD::Jet & |
jet, |
|
|
double & |
resolution |
|
) |
| const |
|
overridevirtual |
◆ getNominalResolutionMC()
StatusCode JetCalibrationTool::getNominalResolutionMC |
( |
const xAOD::Jet & |
jet, |
|
|
double & |
resolution |
|
) |
| const |
|
overridevirtual |
◆ getProperty()
template<class T >
const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ initialize()
StatusCode JetCalibrationTool::initialize |
( |
| ) |
|
|
overridevirtual |
Dummy implementation of the initialisation function.
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.
Definition at line 54 of file JetCalibrationTool.cxx.
62 if ( jetAlgo.EqualTo(
"") || calibSeq.EqualTo(
"") ) {
63 ATH_MSG_FATAL(
"JetCalibrationTool::initialize : At least one of your constructor arguments is not set. Did you use the copy constructor?");
64 return StatusCode::FAILURE;
67 if (
m_config.empty() ) {
ATH_MSG_FATAL(
"No configuration file specified.");
return StatusCode::FAILURE; }
73 dir =
"JetCalibTools/";
75 else{
dir.insert(14,calibPath);}
87 if ( calibSeq.Contains(
"JetArea") ) {
91 else {
ATH_MSG_FATAL(
"jetAlgo " << jetAlgo <<
" not recognized.");
return StatusCode::FAILURE; }
99 std::string rhoKey_config =
m_globalConfig->GetValue(
"RhoKey",
"None");
101 bool requireRhoInput =
false;
104 if ( !calibSeq.Contains(
"JetArea") && !calibSeq.Contains(
"Residual") ) {
107 }
else if ( calibSeq.Contains(
"JetArea") ) {
108 if (
m_rhoKey.key().compare(
"auto") == 0 && rhoKey_config.compare(
"None") == 0) {
119 else if(rhoKey_config.compare(
"None") != 0 &&
m_rhoKey.key().compare(
"auto") == 0){
122 requireRhoInput =
true;
123 if ( !calibSeq.Contains(
"Residual") )
m_doResidual =
false;
124 }
else if ( !calibSeq.Contains(
"JetArea") && calibSeq.Contains(
"Residual") ) {
126 ATH_MSG_INFO(
"ApplyOnlyResidual should be true if only Residual pile up correction wants to be applied. Need to specify pile up starting scale in the configuration file.");
132 "HLT_xAOD__JetContainer_a4tcemsubjesISFS");
134 if ( !calibSeq.Contains(
"Origin") )
m_doOrigin =
false;
135 if ( !calibSeq.Contains(
"GSC") && !calibSeq.Contains(
"GNNC"))
m_doGSC =
false;
136 if ( !calibSeq.Contains(
"Bcid") )
m_doBcid =
false;
137 if ( calibSeq.Contains(
"DNN") )
m_doDNNCal =
true;
140 if ( calibSeq.Contains(
"Insitu") && !
m_isData ) {
141 ATH_MSG_FATAL(
"JetCalibrationTool::initialize : calibSeq string contains Insitu with isData set to false. Can't apply in-situ correction to MC!!");
142 return StatusCode::FAILURE;
160 TEnv *globalConfig_insitu =
new TEnv();
161 int status = globalConfig_insitu->ReadFile(fn_insitu ,EEnvLevel(0));
162 if (
status!=0) {
ATH_MSG_FATAL(
"Cannot read config file " << fn_insitu );
return StatusCode::FAILURE; }
180 TEnv *globalInsituCombMass =
new TEnv();
181 int status = globalInsituCombMass->ReadFile(fn_comb ,EEnvLevel(0));
182 if (
status!=0) {
ATH_MSG_FATAL(
"Cannot read config file " << fn_comb );
return StatusCode::FAILURE; }
190 for (
unsigned int i=0;
i<vecCalibSeq.size(); ++
i) {
191 if ( vecCalibSeq[
i].EqualTo(
"Origin") || vecCalibSeq[
i].EqualTo(
"DEV") )
continue;
192 if ( vecCalibSeq[
i].EqualTo(
"Residual") &&
m_doJetArea )
continue;
205 ATH_MSG_ERROR(
"Residual calibration requested but no primary vertex container specified!");
206 return StatusCode::FAILURE;
209 if(
m_jetAlgo.find(
"PFlow")!=std::string::npos) {
210 ATH_MSG_ERROR(
"GSC calibration for PFlow requested but no primary vertex container specified!");
211 return StatusCode::FAILURE;
214 ATH_MSG_ERROR(
"GSC calibration with tracks requested but no primary vertex container specified!");
215 return StatusCode::FAILURE;
223 return StatusCode::SUCCESS;
◆ initializeEvent()
StatusCode JetCalibrationTool::initializeEvent |
( |
JetEventInfo & |
jetEventInfo | ) |
const |
|
private |
Definition at line 347 of file JetCalibrationTool.cxx.
351 ATH_MSG_FATAL(
" JetCalibrationTool::initializeEvent : The tool was not initialized.");
352 return StatusCode::FAILURE;
368 if ( rhRhoKey.isValid() ) {
370 eventShape = rhRhoKey.cptr();
371 if ( !rhRhoKey.isValid() ) {
373 ATH_MSG_FATAL(
"Could not retrieve the xAOD::EventShape container " <<
m_rhoKey.key() <<
" from the input file");
374 return StatusCode::FAILURE;
378 return StatusCode::FAILURE;
384 ATH_MSG_FATAL(
"Could not retrieve xAOD::EventShape container " <<
m_rhoKey.key() <<
" from the input file");
385 return StatusCode::FAILURE;
398 return StatusCode::FAILURE;
402 return StatusCode::FAILURE;
407 for (
const auto *
jet : *
jets) {
418 static std::atomic<unsigned int> eventInfoWarnings = 0;
420 if ( rhEvtInfo.isValid() ) {
421 eventObj = rhEvtInfo.cptr();
424 if ( eventInfoWarnings < 20 )
425 ATH_MSG_ERROR(
" JetCalibrationTool::initializeEvent : Failed to retrieve event information.");
426 jetEventInfo.
setMu(0);
428 return StatusCode::SUCCESS;
435 if(!eventInfoDecor.isPresent()) {
437 return StatusCode::FAILURE;
439 jetEventInfo.
setMu( eventInfoDecor(0) );
449 if (
m_doGSC && PVIndexAccessor.isAvailable(*eventObj) )
450 jetEventInfo.
setPVIndex( PVIndexAccessor(*eventObj) );
455 if (rhPV.isValid()) {
456 vertices = rhPV.cptr();
459 for ( ; vtx_itr != vtx_end; ++vtx_itr ){
481 static const SG::ConstAccessor<int> BCIDGapBeforeTrainMinus12Acc (
"DFCommonJets_BCIDGapBeforeTrainMinus12");
498 if (rhPV.isValid()) {
499 vertices = rhPV.cptr();
501 ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : Failed to retrieve primary vertices.");
503 return StatusCode::SUCCESS;
510 eventNPV = std::count_if(vertices->
begin(), vertices->
end(), [](
const xAOD::Vertex* vtx){ return vtx->vertexType() == xAOD::VxType::PileUp || vtx->vertexType() == xAOD::VxType::PriVtx;});
511 jetEventInfo.
setNPV(eventNPV);
517 static std::atomic<unsigned int> vertexIndexWarnings = 0;
518 if (jetEventInfo.
PVIndex() < 0 ||
static_cast<size_t>(jetEventInfo.
PVIndex()) >= vertices->
size())
520 ++vertexIndexWarnings;
521 if (vertexIndexWarnings < 20)
522 ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : PV index is out of bounds.");
524 return StatusCode::SUCCESS;
530 static std::atomic<unsigned int> eventInfoWarningsMu = 0;
532 if ( rhEvtInfo.isValid() ) {
534 jetEventInfo.
setMu(eventInfoDecor(0));
536 ++eventInfoWarningsMu;
537 if ( eventInfoWarningsMu < 20 )
ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : Failed to retrieve event information.");
538 jetEventInfo.
setMu(0);
541 static std::atomic<unsigned int> eventInfoWarningsPV = 0;
544 if (rhPV.isValid()) {
545 vertices = rhPV.cptr();
547 eventNPV = std::count_if(vertices->
begin(), vertices->
end(), [](
const xAOD::Vertex* vtx){ return vtx->vertexType() == xAOD::VxType::PileUp || vtx->vertexType() == xAOD::VxType::PriVtx;});
548 jetEventInfo.
setNPV(eventNPV);
550 ++eventInfoWarningsPV;
551 if ( eventInfoWarningsPV < 20 )
ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : Failed to retrieve primary vertices.");
555 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.
◆ modify()
|
inlinefinaloverridevirtualinherited |
◆ 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.
◆ print()
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.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ 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_actualMuKey
Initial value:{this, "actualInteractionsPerCrossing",
"EventInfo.actualInteractionsPerCrossing","Decoration for Actual Number of Interactions Per Crossing"}
Definition at line 69 of file JetCalibrationTool.h.
◆ m_calibAreaTag
std::string JetCalibrationTool::m_calibAreaTag |
|
private |
◆ m_calibSeq
std::string JetCalibrationTool::m_calibSeq |
|
private |
◆ m_calibSteps
◆ m_config
std::string JetCalibrationTool::m_config |
|
private |
◆ m_detStore
◆ m_devMode
bool JetCalibrationTool::m_devMode {} |
|
private |
◆ m_dir
std::string JetCalibrationTool::m_dir |
|
private |
◆ m_doBcid
bool JetCalibrationTool::m_doBcid {true} |
|
private |
◆ m_doDNNCal
bool JetCalibrationTool::m_doDNNCal {} |
|
private |
◆ m_doGSC
bool JetCalibrationTool::m_doGSC {true} |
|
private |
◆ m_doJetArea
bool JetCalibrationTool::m_doJetArea {true} |
|
private |
◆ m_doOrigin
bool JetCalibrationTool::m_doOrigin {true} |
|
private |
◆ m_doResidual
bool JetCalibrationTool::m_doResidual {true} |
|
private |
◆ m_doSetDetectorEta
bool JetCalibrationTool::m_doSetDetectorEta {} |
|
private |
◆ m_eInfoName
std::string JetCalibrationTool::m_eInfoName |
|
private |
◆ m_evtInfoKey
◆ m_evtStore
◆ m_globalConfig
TEnv* JetCalibrationTool::m_globalConfig {} |
|
private |
◆ m_globalInsituCombMassConfig
std::vector<TEnv*> JetCalibrationTool::m_globalInsituCombMassConfig |
|
private |
◆ m_globalTimeDependentConfigs
std::vector<TEnv*> JetCalibrationTool::m_globalTimeDependentConfigs |
|
private |
◆ m_gscDepth
std::string JetCalibrationTool::m_gscDepth {"auto"} |
|
private |
◆ m_insituCombMassCalib
bool JetCalibrationTool::m_insituCombMassCalib {} |
|
private |
◆ m_insituCombMassConfig
std::vector<TString> JetCalibrationTool::m_insituCombMassConfig |
|
private |
◆ m_isData
bool JetCalibrationTool::m_isData {true} |
|
private |
◆ m_jetAlgo
std::string JetCalibrationTool::m_jetAlgo |
|
private |
◆ m_jetScale
jetScale JetCalibrationTool::m_jetScale = jetScale::EM |
|
private |
◆ m_muKey
Initial value:{this, "averageInteractionsPerCrossingKey",
"EventInfo.averageInteractionsPerCrossing","Decoration for Average Interaction Per Crossing"}
Definition at line 67 of file JetCalibrationTool.h.
◆ m_nJetContainerName
std::string JetCalibrationTool::m_nJetContainerName |
|
private |
◆ m_nJetThreshold
float JetCalibrationTool::m_nJetThreshold {} |
|
private |
◆ m_originCorrectedClusters
bool JetCalibrationTool::m_originCorrectedClusters {} |
|
private |
◆ m_originScale
std::string JetCalibrationTool::m_originScale |
|
private |
◆ m_pvKey
◆ m_rhoKey
◆ m_runBins
std::vector<double> JetCalibrationTool::m_runBins |
|
private |
◆ m_smearIndex
int JetCalibrationTool::m_smearIndex {-1} |
|
private |
◆ m_timeDependentCalib
bool JetCalibrationTool::m_timeDependentCalib {} |
|
private |
◆ m_timeDependentInsituConfigs
std::vector<TString> JetCalibrationTool::m_timeDependentInsituConfigs |
|
private |
◆ m_useNjetInResidual
bool JetCalibrationTool::m_useNjetInResidual {} |
|
private |
◆ m_useOriginVertex
bool JetCalibrationTool::m_useOriginVertex {} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
bool getDensity(EventDensityID id, double &v) const
Get a density variable from the object.
void setBcidDistanceFromFront(Int_t BcidDistanceFromFront)
Const iterator class for DataVector/DataList.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
Helper class to provide constant type-safe access to aux data.
void setBcidGapBeforeTrain(Int_t BcidGapBeforeTrain)
#define ATH_MSG_VERBOSE(x)
double resolution[nGasTypes][nParametersResolution]
StrV Vectorize(const TString &str, const TString &sep=" ")
uint32_t runNumber() const
The current event's run number.
virtual StatusCode initialize()=0
virtual void setOwner(IDataHandleHolder *o)=0
void setBcidGapBeforeTrainMinus12(Int_t BcidGapBeforeTrainMinus12)
void setNjet(double nJet)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Handle class for reading a decoration on an object.
MsgStream & msg() const
The standard message stream.
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)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Data class for event shapes.
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.
void setPVIndex(int PVindex)
std::string to_string(const DetectorType &type)
Class describing the basic event information.
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
Class describing a Vertex.
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
VecD VectorizeD(const TString &str, const TString &sep=" ")
void setRunNumber(UInt_t RunNumber)
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.