|
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 561 of file JetCalibrationTool.cxx.
565 if ( !
jet.getAttribute<
int>(
"OriginCorrected",
tmp) )
566 jet.setAttribute<
int>(
"OriginCorrected",
false);
567 if ( !
jet.getAttribute<
int>(
"PileupCorrected",
tmp) )
568 jet.setAttribute<
int>(
"PileupCorrected",
false);
573 jet.setAttribute<
float>(
"DetectorEta",jetconstitP4.eta());
578 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 230 of file JetCalibrationTool.cxx.
233 if ( calibration.EqualTo(
"Bcid") ){
234 m_globalConfig->SetValue(
"PileupStartingScale",
"JetBcidScaleMomentum");
235 std::unique_ptr<JetCalibrationStep> bcidCorr = std::make_unique<BcidOffsetCorrection>(this->
name()+
"_Bcid",
m_globalConfig, jetAlgo, calibPath,
m_isData);
238 return StatusCode::SUCCESS;
240 else if ( calibration.EqualTo(
"JetArea") || calibration.EqualTo(
"Residual") ) {
241 std::unique_ptr<JetCalibrationStep> puCorr = std::make_unique<JetPileupCorrection>(this->
name()+
"_Pileup",
m_globalConfig, jetAlgo, calibPath,
246 return StatusCode::SUCCESS;
248 else if ( calibration.EqualTo(
"EtaJES") || calibration.EqualTo(
"AbsoluteEtaJES") ) {
249 std::unique_ptr<JetCalibrationStep> etaJESCorr = std::make_unique<EtaJESCorrection>(this->
name()+
"_EtaJES",
m_globalConfig, jetAlgo, calibPath,
false,
m_devMode);
253 return StatusCode::SUCCESS;
255 else if ( calibration.EqualTo(
"EtaMassJES") ) {
256 std::unique_ptr<JetCalibrationStep> etaJESCorr = std::make_unique<EtaJESCorrection>(this->
name()+
"_EtaMassJES",
m_globalConfig, jetAlgo, calibPath,
true,
m_devMode);
260 return StatusCode::SUCCESS;
262 else if ( calibration.EqualTo(
"GSC") ) {
267 return StatusCode::SUCCESS;
269 else if ( calibration.EqualTo(
"GNNC") ) {
270 std::unique_ptr<JetCalibrationStep> gnnc = std::make_unique<GlobalNNCalibration>(this->
name()+
"_GNNC",
m_globalConfig,jetAlgo,calibPath,
m_devMode);
274 return StatusCode::SUCCESS;
276 else if ( calibration.EqualTo(
"JMS") ) {
277 std::unique_ptr<JetCalibrationStep> jetMassCorr = std::make_unique<JMSCorrection>(this->
name()+
"_JMS",
m_globalConfig, jetAlgo, calibPath,
m_devMode);
278 jetMassCorr->
msg().setLevel( this->
msg().
level() );
281 return StatusCode::SUCCESS;
283 else if ( calibration.EqualTo(
"InsituCombinedMass") ){
286 jetMassCorr->
msg().setLevel( this->
msg().
level() );
290 return StatusCode::SUCCESS;
292 else if ( calibration.EqualTo(
"Insitu") ) {
294 std::unique_ptr<JetCalibrationStep> insituDataCorr = std::make_unique<InsituDataCorrection>(this->
name()+
"_Insitu",
m_globalConfig, jetAlgo, calibPath,
m_devMode);
295 insituDataCorr->
msg().setLevel( this->
msg().
level() );
298 return StatusCode::SUCCESS;
301 ATH_MSG_INFO(
"Initializing Time-Dependent Insitu Corrections");
304 unsigned int firstRun =
static_cast<unsigned int>(
m_runBins.at(
i)+1.5);
308 insituDataCorr->
msg().setLevel( this->
msg().
level() );
312 return StatusCode::SUCCESS;
315 else if ( calibration.EqualTo(
"Smear") ) {
317 ATH_MSG_FATAL(
"Asked for smearing of data, which is not supported. Aborting.");
318 return StatusCode::FAILURE;
320 std::unique_ptr<JetCalibrationStep> jetSmearCorr = std::make_unique<JetSmearingCorrection>(this->
name()+
"_Smear",
m_globalConfig,jetAlgo,calibPath,
m_devMode);
325 return StatusCode::SUCCESS;
327 else if ( calibration.EqualTo(
"LargeRDNN") ) {
328 std::unique_ptr<JetCalibrationStep> largeR_dnn = std::make_unique<GlobalLargeRDNNCalibration>(this->
name()+
"_R10DNN",
m_globalConfig,calibPath,
m_devMode);
332 return StatusCode::SUCCESS;
334 ATH_MSG_FATAL(
"Calibration string not recognized: " << calibration <<
", aborting.");
335 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 57 of file JetCalibrationTool.cxx.
65 if ( jetAlgo.EqualTo(
"") || calibSeq.EqualTo(
"") ) {
66 ATH_MSG_FATAL(
"JetCalibrationTool::initialize : At least one of your constructor arguments is not set. Did you use the copy constructor?");
67 return StatusCode::FAILURE;
70 if (
m_config.empty() ) {
ATH_MSG_FATAL(
"No configuration file specified.");
return StatusCode::FAILURE; }
76 dir =
"JetCalibTools/";
78 else{
dir.insert(14,calibPath);}
90 if ( calibSeq.Contains(
"JetArea") ) {
94 else {
ATH_MSG_FATAL(
"jetAlgo " << jetAlgo <<
" not recognized.");
return StatusCode::FAILURE; }
102 std::string rhoKey_config =
m_globalConfig->GetValue(
"RhoKey",
"None");
104 bool requireRhoInput =
false;
107 if ( !calibSeq.Contains(
"JetArea") && !calibSeq.Contains(
"Residual") ) {
110 }
else if ( calibSeq.Contains(
"JetArea") ) {
111 if (
m_rhoKey.key().compare(
"auto") == 0 && rhoKey_config.compare(
"None") == 0) {
122 else if(rhoKey_config.compare(
"None") != 0 &&
m_rhoKey.key().compare(
"auto") == 0){
125 requireRhoInput =
true;
126 if ( !calibSeq.Contains(
"Residual") )
m_doResidual =
false;
127 }
else if ( !calibSeq.Contains(
"JetArea") && calibSeq.Contains(
"Residual") ) {
129 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.");
135 "HLT_xAOD__JetContainer_a4tcemsubjesISFS");
137 if ( !calibSeq.Contains(
"Origin") )
m_doOrigin =
false;
138 if ( !calibSeq.Contains(
"GSC") && !calibSeq.Contains(
"GNNC"))
m_doGSC =
false;
139 if ( !calibSeq.Contains(
"Bcid") )
m_doBcid =
false;
140 if ( calibSeq.Contains(
"DNN") )
m_doDNNCal =
true;
143 if ( calibSeq.Contains(
"Insitu") && !
m_isData ) {
144 ATH_MSG_FATAL(
"JetCalibrationTool::initialize : calibSeq string contains Insitu with isData set to false. Can't apply in-situ correction to MC!!");
145 return StatusCode::FAILURE;
163 TEnv *globalConfig_insitu =
new TEnv();
164 int status = globalConfig_insitu->ReadFile(fn_insitu ,EEnvLevel(0));
165 if (
status!=0) {
ATH_MSG_FATAL(
"Cannot read config file " << fn_insitu );
return StatusCode::FAILURE; }
183 TEnv *globalInsituCombMass =
new TEnv();
184 int status = globalInsituCombMass->ReadFile(fn_comb ,EEnvLevel(0));
185 if (
status!=0) {
ATH_MSG_FATAL(
"Cannot read config file " << fn_comb );
return StatusCode::FAILURE; }
193 for (
unsigned int i=0;
i<vecCalibSeq.size(); ++
i) {
194 if ( vecCalibSeq[
i].EqualTo(
"Origin") || vecCalibSeq[
i].EqualTo(
"DEV") )
continue;
195 if ( vecCalibSeq[
i].EqualTo(
"Residual") &&
m_doJetArea )
continue;
208 ATH_MSG_ERROR(
"Residual calibration requested but no primary vertex container specified!");
209 return StatusCode::FAILURE;
212 if(
m_jetAlgo.find(
"PFlow")!=std::string::npos) {
213 ATH_MSG_ERROR(
"GSC calibration for PFlow requested but no primary vertex container specified!");
214 return StatusCode::FAILURE;
217 ATH_MSG_ERROR(
"GSC calibration with tracks requested but no primary vertex container specified!");
218 return StatusCode::FAILURE;
226 return StatusCode::SUCCESS;
◆ initializeEvent()
StatusCode JetCalibrationTool::initializeEvent |
( |
JetEventInfo & |
jetEventInfo | ) |
const |
|
private |
Definition at line 350 of file JetCalibrationTool.cxx.
354 ATH_MSG_FATAL(
" JetCalibrationTool::initializeEvent : The tool was not initialized.");
355 return StatusCode::FAILURE;
371 if ( rhRhoKey.isValid() ) {
373 eventShape = rhRhoKey.cptr();
374 if ( !rhRhoKey.isValid() ) {
376 ATH_MSG_FATAL(
"Could not retrieve the xAOD::EventShape container " <<
m_rhoKey.key() <<
" from the input file");
377 return StatusCode::FAILURE;
381 return StatusCode::FAILURE;
387 ATH_MSG_FATAL(
"Could not retrieve xAOD::EventShape container " <<
m_rhoKey.key() <<
" from the input file");
388 return StatusCode::FAILURE;
401 return StatusCode::FAILURE;
405 return StatusCode::FAILURE;
410 for (
const auto *
jet : *
jets) {
421 static std::atomic<unsigned int> eventInfoWarnings = 0;
423 if ( rhEvtInfo.isValid() ) {
424 eventObj = rhEvtInfo.cptr();
427 if ( eventInfoWarnings < 20 )
428 ATH_MSG_ERROR(
" JetCalibrationTool::initializeEvent : Failed to retrieve event information.");
429 jetEventInfo.
setMu(0);
431 return StatusCode::SUCCESS;
438 if(!eventInfoDecor.isPresent()) {
440 return StatusCode::FAILURE;
442 jetEventInfo.
setMu( eventInfoDecor(0) );
452 if (
m_doGSC && PVIndexAccessor.isAvailable(*eventObj) )
453 jetEventInfo.
setPVIndex( PVIndexAccessor(*eventObj) );
458 if (rhPV.isValid()) {
459 vertices = rhPV.cptr();
462 for ( ; vtx_itr != vtx_end; ++vtx_itr ){
484 static const SG::ConstAccessor<int> BCIDGapBeforeTrainMinus12Acc (
"DFCommonJets_BCIDGapBeforeTrainMinus12");
501 if (rhPV.isValid()) {
502 vertices = rhPV.cptr();
504 ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : Failed to retrieve primary vertices.");
506 return StatusCode::SUCCESS;
513 eventNPV = std::count_if(vertices->
begin(), vertices->
end(), [](
const xAOD::Vertex* vtx){ return vtx->vertexType() == xAOD::VxType::PileUp || vtx->vertexType() == xAOD::VxType::PriVtx;});
514 jetEventInfo.
setNPV(eventNPV);
520 static std::atomic<unsigned int> vertexIndexWarnings = 0;
521 if (jetEventInfo.
PVIndex() < 0 ||
static_cast<size_t>(jetEventInfo.
PVIndex()) >= vertices->
size())
523 ++vertexIndexWarnings;
524 if (vertexIndexWarnings < 20)
525 ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : PV index is out of bounds.");
527 return StatusCode::SUCCESS;
533 static std::atomic<unsigned int> eventInfoWarningsMu = 0;
535 if ( rhEvtInfo.isValid() ) {
537 jetEventInfo.
setMu(eventInfoDecor(0));
539 ++eventInfoWarningsMu;
540 if ( eventInfoWarningsMu < 20 )
ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : Failed to retrieve event information.");
541 jetEventInfo.
setMu(0);
544 static std::atomic<unsigned int> eventInfoWarningsPV = 0;
547 if (rhPV.isValid()) {
548 vertices = rhPV.cptr();
550 eventNPV = std::count_if(vertices->
begin(), vertices->
end(), [](
const xAOD::Vertex* vtx){ return vtx->vertexType() == xAOD::VxType::PileUp || vtx->vertexType() == xAOD::VxType::PriVtx;});
551 jetEventInfo.
setNPV(eventNPV);
553 ++eventInfoWarningsPV;
554 if ( eventInfoWarningsPV < 20 )
ATH_MSG_WARNING(
" JetCalibrationTool::initializeEvent : Failed to retrieve primary vertices.");
558 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 |
|
private |
◆ m_doDNNCal
bool JetCalibrationTool::m_doDNNCal |
|
private |
◆ m_doGSC
bool JetCalibrationTool::m_doGSC |
|
private |
◆ m_doJetArea
bool JetCalibrationTool::m_doJetArea |
|
private |
◆ m_doOrigin
bool JetCalibrationTool::m_doOrigin |
|
private |
◆ m_doResidual
bool JetCalibrationTool::m_doResidual |
|
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 |
|
private |
◆ m_insituCombMassCalib
bool JetCalibrationTool::m_insituCombMassCalib |
|
private |
◆ m_insituCombMassConfig
std::vector<TString> JetCalibrationTool::m_insituCombMassConfig |
|
private |
◆ m_isData
bool JetCalibrationTool::m_isData |
|
private |
◆ m_jetAlgo
std::string JetCalibrationTool::m_jetAlgo |
|
private |
◆ m_jetScale
◆ 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 |
|
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)
std::vector< std::string > config
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.