ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
BcidOffsetCorrection Class Reference

#include <BcidOffsetCorrection.h>

Inheritance diagram for BcidOffsetCorrection:
Collaboration diagram for BcidOffsetCorrection:

Public Member Functions

 BcidOffsetCorrection ()
 
 BcidOffsetCorrection (const std::string &name, TEnv *config, TString jetAlgo, TString calibAreaTag, bool isData)
 
virtual ~BcidOffsetCorrection ()
 
virtual StatusCode initialize () override
 
virtual StatusCode calibrate (xAOD::Jet &jet, JetEventInfo &) const override
 
virtual void setUnitsGeV (bool useGeV)
 
virtual StatusCode getNominalResolutionData (const xAOD::Jet &, double &) const
 
virtual StatusCode getNominalResolutionMC (const xAOD::Jet &, double &) const
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Protected Member Functions

virtual StatusCode setStartP4 (xAOD::Jet &jet) const
 

Protected Attributes

double m_GeV
 
std::string m_jetStartScale
 
std::string m_name
 

Private Member Functions

void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

TEnv * m_config {}
 
TString m_jetAlgo
 
TString m_calibAreaTag
 
bool m_isData {}
 
bool m_doEMECIW2bcid {}
 
bool m_doEMECIW3bcid {}
 
bool m_doHEC0bcid {}
 
bool m_doHEC1bcid {}
 
bool m_doHEC2bcid {}
 
bool m_doHEC3bcid {}
 
bool m_doFCal0OuterBcid {}
 
bool m_doFCal1OuterBcid {}
 
bool m_doFCal2OuterBcid {}
 
bool m_doFCal0bcid {}
 
bool m_doFCal1bcid {}
 
bool m_doFCal2bcid {}
 
bool m_doFCal0InnerBcid {}
 
bool m_doFCal1InnerBcid {}
 
bool m_doFCal2InnerBcid {}
 
std::unique_ptr< const TH2m_bcid_nCells_EMECIW2
 
std::unique_ptr< const TH2m_bcid_nCells_HEC0
 
std::unique_ptr< const TH2m_bcid_nCells_HEC1
 
std::unique_ptr< const TH2m_bcid_nCells_FCal0
 
std::unique_ptr< const TH2m_bcid_slope_EMECIW2_pos
 
std::unique_ptr< const TH2m_bcid_slope_HEC0_pos
 
std::unique_ptr< const TH2m_bcid_slope_HEC1_pos
 
std::unique_ptr< const TH2m_bcid_slope_EMECIW2_neg
 
std::unique_ptr< const TH2m_bcid_slope_HEC0_neg
 
std::unique_ptr< const TH2m_bcid_slope_HEC1_neg
 
std::unique_ptr< const TH2m_bcid_slope_FCal0
 
std::unique_ptr< const TH2m_bcid_slope_EMECIW2_8b4e_pos
 
std::unique_ptr< const TH2m_bcid_slope_HEC0_8b4e_pos
 
std::unique_ptr< const TH2m_bcid_slope_HEC1_8b4e_pos
 
std::unique_ptr< const TH2m_bcid_slope_EMECIW2_8b4e_neg
 
std::unique_ptr< const TH2m_bcid_slope_HEC0_8b4e_neg
 
std::unique_ptr< const TH2m_bcid_slope_HEC1_8b4e_neg
 
std::unique_ptr< const TH2m_bcid_slope_FCal0_8b4e
 
JetEventInfo m_eventInfo
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Definition at line 23 of file BcidOffsetCorrection.h.

Constructor & Destructor Documentation

◆ BcidOffsetCorrection() [1/2]

BcidOffsetCorrection::BcidOffsetCorrection ( )

Definition at line 12 of file BcidOffsetCorrection.cxx.

14  m_config(nullptr), m_jetAlgo(""), m_calibAreaTag(""), m_isData(false)
15 {}

◆ BcidOffsetCorrection() [2/2]

BcidOffsetCorrection::BcidOffsetCorrection ( const std::string &  name,
TEnv *  config,
TString  jetAlgo,
TString  calibAreaTag,
bool  isData 
)

Definition at line 17 of file BcidOffsetCorrection.cxx.

18  : JetCalibrationStep(name.c_str()),
19  m_config(config), m_jetAlgo(std::move(jetAlgo)), m_calibAreaTag(std::move(calibAreaTag)), m_isData(isData)
20 {}

◆ ~BcidOffsetCorrection()

BcidOffsetCorrection::~BcidOffsetCorrection ( )
virtualdefault

Member Function Documentation

◆ calibrate()

StatusCode BcidOffsetCorrection::calibrate ( xAOD::Jet jet,
JetEventInfo jetEventInfo 
) const
overridevirtual

Implements JetCalibrationStep.

Definition at line 107 of file BcidOffsetCorrection.cxx.

107  {
108 
109  // correction should only be applied to data
110  if (!m_isData){
111  jet.setAttribute<xAOD::JetFourMom_t>("JetBcidScaleMomentum",jet.jetP4());
112  return StatusCode::SUCCESS;
113  }
114 
115  xAOD::JetFourMom_t jetStartP4;
117  jetStartP4 = jet.jetP4();
118 
119  float startPt=jet.pt();
120  float calibPt=jet.pt();
121 
122  // if we are not looking at 2017 or 2018 data then apply no correction and pass on the new jet name
123  if (jetEventInfo.runNumber()>358656 || jetEventInfo.runNumber()<325713){
124  jet.setAttribute<xAOD::JetFourMom_t>("JetBcidScaleMomentum",jetStartP4);
125  return StatusCode::SUCCESS;
126  }
127 
128  bool is8b4e=false;
129  if (jetEventInfo.runNumber()>=334842 && jetEventInfo.runNumber()<=340453) is8b4e=true;
130 
131  int bcidDistanceFromFront = jetEventInfo.bcidDistanceFromFront();
132  int bcidGapBeforeTrain = jetEventInfo.bcidGapBeforeTrain();
133  int bcidGapBeforeTrainMinus12 = jetEventInfo.bcidGapBeforeTrainMinus12();
134  if (!is8b4e){// this separates the sub-trains
135  if (bcidGapBeforeTrain<=15) bcidDistanceFromFront+=55;
136  }
137  if (is8b4e){// this separates sub-trains and the 1st and 2nd sets of 8b4e
138  if (bcidGapBeforeTrain==5 && bcidGapBeforeTrainMinus12==5) bcidDistanceFromFront+=24;
139  if (bcidGapBeforeTrain>5 && bcidGapBeforeTrain<20) bcidDistanceFromFront+=60;
140  if (bcidGapBeforeTrain==5 && bcidGapBeforeTrainMinus12>5 && bcidGapBeforeTrainMinus12<20) bcidDistanceFromFront+=72;
141  if (bcidGapBeforeTrain==5 && bcidGapBeforeTrainMinus12>20) bcidDistanceFromFront+=12;
142  }
143 
144  xAOD::JetFourMom_t calibP4;
145  calibP4 = jet.jetP4();
146  static const SG::ConstAccessor<float> DetectorEtaAcc ("DetectorEta");
147  float detEta=DetectorEtaAcc(jet);
148  float mu=jetEventInfo.mu();
149 
150  if (m_doEMECIW2bcid && !is8b4e){
151  if ((bcidDistanceFromFront>=0 && bcidDistanceFromFront<12) || (bcidDistanceFromFront>=55 && bcidDistanceFromFront<67)){// only apply correction to 1st 12 BCIDs
152  for (unsigned int i=1; i<=7; i++){
153  float nCells = m_bcid_nCells_EMECIW2->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
154  float slope = 0;
155  if (detEta>0) slope = m_bcid_slope_EMECIW2_pos->GetBinContent(i,bcidDistanceFromFront+1);
156  if (detEta<0) slope = m_bcid_slope_EMECIW2_neg->GetBinContent(i,bcidDistanceFromFront+1);
157  calibPt -= mu*nCells*slope;
158  }
159  }
160  }
161  if (m_doEMECIW2bcid && is8b4e){
162  if (bcidDistanceFromFront>=0 && bcidDistanceFromFront<115){// apply to all BCIDs
163  for (unsigned int i=1; i<=7; i++){
164  float nCells = m_bcid_nCells_EMECIW2->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
165  float slope = 0;
166  if (detEta>0) slope = m_bcid_slope_EMECIW2_8b4e_pos->GetBinContent(i,bcidDistanceFromFront+1);
167  if (detEta<0) slope = m_bcid_slope_EMECIW2_8b4e_neg->GetBinContent(i,bcidDistanceFromFront+1);
168  calibPt -= mu*nCells*slope;
169  }
170  }
171  }
172  if (m_doHEC0bcid && !is8b4e){
173  if ((bcidDistanceFromFront>=0 && bcidDistanceFromFront<10) || (bcidDistanceFromFront>=55 && bcidDistanceFromFront<65) || bcidDistanceFromFront==47 || bcidDistanceFromFront==102){// only apply correction to 1st 10 and last BCIDs
174  for (unsigned int i=1; i<=4; i++){
175  float nCells = m_bcid_nCells_HEC0->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
176  float slope = 0;
177  if (detEta>0) slope = m_bcid_slope_HEC0_pos->GetBinContent(i,bcidDistanceFromFront+1);
178  if (detEta<0) slope = m_bcid_slope_HEC0_neg->GetBinContent(i,bcidDistanceFromFront+1);
179  calibPt -= mu*nCells*slope;
180  }
181  }
182  }
183  if (m_doHEC0bcid && is8b4e){
184  if (bcidDistanceFromFront>=0 && bcidDistanceFromFront<115){// apply to all BCIDs
185  for (unsigned int i=1; i<=4; i++){
186  float nCells = m_bcid_nCells_HEC0->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
187  float slope = 0;
188  if (detEta>0) slope = m_bcid_slope_HEC0_8b4e_pos->GetBinContent(i,bcidDistanceFromFront+1);
189  if (detEta<0) slope = m_bcid_slope_HEC0_8b4e_neg->GetBinContent(i,bcidDistanceFromFront+1);
190  calibPt -= mu*nCells*slope;
191  }
192  }
193  }
194  if (m_doHEC1bcid && !is8b4e){
195  if ((bcidDistanceFromFront>=0 && bcidDistanceFromFront<10) || (bcidDistanceFromFront>=55 && bcidDistanceFromFront<65) || bcidDistanceFromFront==47 || bcidDistanceFromFront==102){// only apply correction to 1st 10 and last BCIDs
196  for (unsigned int i=1; i<=3; i++){
197  float nCells = m_bcid_nCells_HEC1->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
198  float slope = 0;
199  if (detEta>0) slope = m_bcid_slope_HEC1_pos->GetBinContent(i,bcidDistanceFromFront+1);
200  if (detEta<0) slope = m_bcid_slope_HEC1_neg->GetBinContent(i,bcidDistanceFromFront+1);
201  calibPt -= mu*nCells*slope;
202  }
203  }
204  }
205  if (m_doHEC1bcid && is8b4e){
206  if (bcidDistanceFromFront>=0 && bcidDistanceFromFront<115){// apply to all BCIDs
207  for (unsigned int i=1; i<=3; i++){
208  float nCells = m_bcid_nCells_HEC1->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
209  float slope = 0;
210  if (detEta>0) slope = m_bcid_slope_HEC1_8b4e_pos->GetBinContent(i,bcidDistanceFromFront+1);
211  if (detEta<0) slope = m_bcid_slope_HEC1_8b4e_neg->GetBinContent(i,bcidDistanceFromFront+1);
212  calibPt -= mu*nCells*slope;
213  }
214  }
215  }
216  if (m_doFCal0bcid && !is8b4e){
217  if ((bcidDistanceFromFront>=0 && bcidDistanceFromFront<12) || (bcidDistanceFromFront>=55 && bcidDistanceFromFront<67)){// only apply correction to 1st 12 BCIDs
218  for (unsigned int i=1; i<=6; i++){
219  float nCells = m_bcid_nCells_FCal0->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
220  float slope = 0;
221  slope = m_bcid_slope_FCal0->GetBinContent(i,bcidDistanceFromFront+1);
222  calibPt -= mu*nCells*slope;
223  }
224  }
225  }
226  if (m_doFCal0bcid && is8b4e){
227  if (bcidDistanceFromFront>=0 && bcidDistanceFromFront<115){// apply to all BCIDs
228  for (unsigned int i=1; i<=6; i++){
229  float nCells = m_bcid_nCells_FCal0->GetBinContent(i,static_cast<int>(abs(detEta)*10.0+1.0));
230  float slope = 0;
231  slope = m_bcid_slope_FCal0_8b4e->GetBinContent(i,bcidDistanceFromFront+1);
232  calibPt -= mu*nCells*slope;
233  }
234  }
235  }
236 
237  calibP4*=calibPt/startPt;
238 
239  //Transfer calibrated jet properties to the Jet object
240  jet.setAttribute<xAOD::JetFourMom_t>("JetBcidScaleMomentum",calibP4);
241  jet.setJetP4( calibP4 );
242 
243  return StatusCode::SUCCESS;
244 }

◆ getNominalResolutionData()

StatusCode JetCalibrationStep::getNominalResolutionData ( const xAOD::Jet ,
double &   
) const
virtualinherited

Reimplemented in JetSmearingCorrection.

Definition at line 33 of file JetCalibrationStep.cxx.

33  {
34  ATH_MSG_ERROR("Nominal data resolution requested from a jet calibration step that doesn't define it.");
35  return StatusCode::FAILURE;
36 }

◆ getNominalResolutionMC()

StatusCode JetCalibrationStep::getNominalResolutionMC ( const xAOD::Jet ,
double &   
) const
virtualinherited

Reimplemented in JetSmearingCorrection.

Definition at line 38 of file JetCalibrationStep.cxx.

38  {
39  ATH_MSG_ERROR("Nominal MC resolution requested from a jet calibration step that doesn't define it.");
40  return StatusCode::FAILURE;
41 }

◆ initialize()

StatusCode BcidOffsetCorrection::initialize ( )
overridevirtual

Implements JetCalibrationStep.

Definition at line 25 of file BcidOffsetCorrection.cxx.

25  {
26 
27  ATH_MSG_INFO("Initializing BCID offset correction");
28 
29  if(!m_config){
30  ATH_MSG_ERROR("BCID offset correction tool received a null config pointer.");
31  return StatusCode::FAILURE;
32  }
33 
34  m_doEMECIW2bcid = m_config->GetValue("ApplyEMECIW2bcid",true);
35  m_doEMECIW3bcid = m_config->GetValue("ApplyEMECIW3bcid",false);
36  m_doHEC0bcid = m_config->GetValue("ApplyHEC0bcid",true);
37  m_doHEC1bcid = m_config->GetValue("ApplyHEC1bcid",true);
38  m_doHEC2bcid = m_config->GetValue("ApplyHEC2bcid",false);
39  m_doHEC3bcid = m_config->GetValue("ApplyHEC3bcid",false);
40  m_doFCal0OuterBcid = m_config->GetValue("ApplyFCal0OuterBcid",false);
41  m_doFCal1OuterBcid = m_config->GetValue("ApplyFCal1OuterBcid",false);
42  m_doFCal2OuterBcid = m_config->GetValue("ApplyFCal2OuterBcid",false);
43  m_doFCal0bcid = m_config->GetValue("ApplyFCal0bcid",true);
44  m_doFCal1bcid = m_config->GetValue("ApplyFCal1bcid",false);
45  m_doFCal2bcid = m_config->GetValue("ApplyFCal2bcid",false);
46  m_doFCal0InnerBcid = m_config->GetValue("ApplyFCal0InnerBcid",false);
47  m_doFCal1InnerBcid = m_config->GetValue("ApplyFCal1InnerBcid",false);
48  m_doFCal2InnerBcid = m_config->GetValue("ApplyFCal2InnerBcid",false);
49 
51  ATH_MSG_ERROR("You are attempting to apply the BCID offset correction to the EMEC3 or HEC back wheel cells which is not implemented.");
52  return StatusCode::FAILURE;
53  }
55  ATH_MSG_ERROR("You are attempting to apply the BCID offset correction to the outer small FCal cells which is not implemented.");
56  return StatusCode::FAILURE;
57  }
59  ATH_MSG_ERROR("You are attempting to apply the BCID offset correction to the large FCal1/2 cells which is not implemented.");
60  return StatusCode::FAILURE;
61  }
63  ATH_MSG_ERROR("You are attempting to apply the BCID offset correction to the inner small FCal cells which is not implemented.");
64  return StatusCode::FAILURE;
65  }
66 
67  m_jetStartScale = m_config->GetValue("BcidStartingScale","JetConstitScaleMomentum");
68 
69  //find the ROOT file containing the BCID slopes and numbers of cells.
70  TString BCIDFile = m_config->GetValue("BCIDOffsetFile","");
71  if ( BCIDFile.EqualTo("empty") ) {
72  ATH_MSG_ERROR("No BCIDOffsetFile specified. Aborting.");
73  return StatusCode::FAILURE;
74  }
75  BCIDFile.Insert(14,m_calibAreaTag);
76  TString fileName = PathResolverFindCalibFile(BCIDFile.Data());
77  std::unique_ptr<TFile> inputFile(TFile::Open(fileName));
78  if (!inputFile){
79  ATH_MSG_ERROR("Cannot open BCID offset calibration file" << fileName);
80  return StatusCode::FAILURE;
81  }
82 
86  m_bcid_nCells_FCal0 = JetCalibUtils::GetHisto2(*inputFile,"bcid_nCells_FCal0big");
87 
88  m_bcid_slope_EMECIW2_pos = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_EMECIW2_pos");
89  m_bcid_slope_EMECIW2_neg = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_EMECIW2_neg");
94  m_bcid_slope_FCal0 = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_FCal0big");
95 
96  m_bcid_slope_EMECIW2_8b4e_pos = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_EMECIW2_8b4e_pos");
97  m_bcid_slope_EMECIW2_8b4e_neg = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_EMECIW2_8b4e_neg");
98  m_bcid_slope_HEC0_8b4e_pos = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_HEC0_8b4e_pos");
99  m_bcid_slope_HEC0_8b4e_neg = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_HEC0_8b4e_neg");
100  m_bcid_slope_HEC1_8b4e_pos = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_HEC1_8b4e_pos");
101  m_bcid_slope_HEC1_8b4e_neg = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_HEC1_8b4e_neg");
102  m_bcid_slope_FCal0_8b4e = JetCalibUtils::GetHisto2(*inputFile,"bcid_slope_FCal0big_8b4e");
103 
104  return StatusCode::SUCCESS;
105 }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ msg() [1/2]

MsgStream & asg::AsgMessaging::msg ( ) const
inherited

The standard message stream.

Returns
A reference to the default message stream of this object.

Definition at line 49 of file AsgMessaging.cxx.

49  {
50 #ifndef XAOD_STANDALONE
52 #else // not XAOD_STANDALONE
53  return m_msg;
54 #endif // not XAOD_STANDALONE
55  }

◆ msg() [2/2]

MsgStream & asg::AsgMessaging::msg ( const MSG::Level  lvl) const
inherited

The standard message stream.

Parameters
lvlThe message level to set the stream to
Returns
A reference to the default message stream, set to level "lvl"

Definition at line 57 of file AsgMessaging.cxx.

57  {
58 #ifndef XAOD_STANDALONE
60 #else // not XAOD_STANDALONE
61  m_msg << lvl;
62  return m_msg;
63 #endif // not XAOD_STANDALONE
64  }

◆ msgLvl()

bool asg::AsgMessaging::msgLvl ( const MSG::Level  lvl) const
inherited

Test the output level of the object.

Parameters
lvlThe message level to test against
Returns
boolean Indicting if messages at given level will be printed
true If messages at level "lvl" will be printed

Definition at line 41 of file AsgMessaging.cxx.

41  {
42 #ifndef XAOD_STANDALONE
43  return ::AthMessaging::msgLvl( lvl );
44 #else // not XAOD_STANDALONE
45  return m_msg.msgLevel( lvl );
46 #endif // not XAOD_STANDALONE
47  }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ setStartP4()

StatusCode JetCalibrationStep::setStartP4 ( xAOD::Jet jet) const
protectedvirtualinherited

Definition at line 21 of file JetCalibrationStep.cxx.

21  {
23  if ( m_jetStartScale.compare("Default") == 0 ) {
24  return StatusCode::SUCCESS;
25  } else if ( jet.getAttribute<xAOD::JetFourMom_t>(m_jetStartScale.c_str(),tmp) ) {
26  jet.setJetP4(tmp);
27  return StatusCode::SUCCESS;
28  }
29  ATH_MSG_WARNING("Jet does not have the requested momentum state: " << m_jetStartScale);
30  return StatusCode::FAILURE;
31 }

◆ setUnitsGeV()

virtual void JetCalibrationStep::setUnitsGeV ( bool  useGeV)
inlinevirtualinherited

Definition at line 30 of file JetCalibrationStep.h.

30 { if (useGeV) m_GeV=1; else m_GeV=1000; }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_bcid_nCells_EMECIW2

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_nCells_EMECIW2
private

Definition at line 57 of file BcidOffsetCorrection.h.

◆ m_bcid_nCells_FCal0

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_nCells_FCal0
private

Definition at line 60 of file BcidOffsetCorrection.h.

◆ m_bcid_nCells_HEC0

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_nCells_HEC0
private

Definition at line 58 of file BcidOffsetCorrection.h.

◆ m_bcid_nCells_HEC1

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_nCells_HEC1
private

Definition at line 59 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_EMECIW2_8b4e_neg

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_EMECIW2_8b4e_neg
private

Definition at line 76 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_EMECIW2_8b4e_pos

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_EMECIW2_8b4e_pos
private

Definition at line 72 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_EMECIW2_neg

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_EMECIW2_neg
private

Definition at line 66 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_EMECIW2_pos

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_EMECIW2_pos
private

Definition at line 62 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_FCal0

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_FCal0
private

Definition at line 70 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_FCal0_8b4e

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_FCal0_8b4e
private

Definition at line 80 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC0_8b4e_neg

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC0_8b4e_neg
private

Definition at line 77 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC0_8b4e_pos

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC0_8b4e_pos
private

Definition at line 73 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC0_neg

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC0_neg
private

Definition at line 67 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC0_pos

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC0_pos
private

Definition at line 63 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC1_8b4e_neg

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC1_8b4e_neg
private

Definition at line 78 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC1_8b4e_pos

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC1_8b4e_pos
private

Definition at line 74 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC1_neg

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC1_neg
private

Definition at line 68 of file BcidOffsetCorrection.h.

◆ m_bcid_slope_HEC1_pos

std::unique_ptr<const TH2> BcidOffsetCorrection::m_bcid_slope_HEC1_pos
private

Definition at line 64 of file BcidOffsetCorrection.h.

◆ m_calibAreaTag

TString BcidOffsetCorrection::m_calibAreaTag
private

Definition at line 38 of file BcidOffsetCorrection.h.

◆ m_config

TEnv* BcidOffsetCorrection::m_config {}
private

Definition at line 37 of file BcidOffsetCorrection.h.

◆ m_doEMECIW2bcid

bool BcidOffsetCorrection::m_doEMECIW2bcid {}
private

Definition at line 41 of file BcidOffsetCorrection.h.

◆ m_doEMECIW3bcid

bool BcidOffsetCorrection::m_doEMECIW3bcid {}
private

Definition at line 42 of file BcidOffsetCorrection.h.

◆ m_doFCal0bcid

bool BcidOffsetCorrection::m_doFCal0bcid {}
private

Definition at line 50 of file BcidOffsetCorrection.h.

◆ m_doFCal0InnerBcid

bool BcidOffsetCorrection::m_doFCal0InnerBcid {}
private

Definition at line 53 of file BcidOffsetCorrection.h.

◆ m_doFCal0OuterBcid

bool BcidOffsetCorrection::m_doFCal0OuterBcid {}
private

Definition at line 47 of file BcidOffsetCorrection.h.

◆ m_doFCal1bcid

bool BcidOffsetCorrection::m_doFCal1bcid {}
private

Definition at line 51 of file BcidOffsetCorrection.h.

◆ m_doFCal1InnerBcid

bool BcidOffsetCorrection::m_doFCal1InnerBcid {}
private

Definition at line 54 of file BcidOffsetCorrection.h.

◆ m_doFCal1OuterBcid

bool BcidOffsetCorrection::m_doFCal1OuterBcid {}
private

Definition at line 48 of file BcidOffsetCorrection.h.

◆ m_doFCal2bcid

bool BcidOffsetCorrection::m_doFCal2bcid {}
private

Definition at line 52 of file BcidOffsetCorrection.h.

◆ m_doFCal2InnerBcid

bool BcidOffsetCorrection::m_doFCal2InnerBcid {}
private

Definition at line 55 of file BcidOffsetCorrection.h.

◆ m_doFCal2OuterBcid

bool BcidOffsetCorrection::m_doFCal2OuterBcid {}
private

Definition at line 49 of file BcidOffsetCorrection.h.

◆ m_doHEC0bcid

bool BcidOffsetCorrection::m_doHEC0bcid {}
private

Definition at line 43 of file BcidOffsetCorrection.h.

◆ m_doHEC1bcid

bool BcidOffsetCorrection::m_doHEC1bcid {}
private

Definition at line 44 of file BcidOffsetCorrection.h.

◆ m_doHEC2bcid

bool BcidOffsetCorrection::m_doHEC2bcid {}
private

Definition at line 45 of file BcidOffsetCorrection.h.

◆ m_doHEC3bcid

bool BcidOffsetCorrection::m_doHEC3bcid {}
private

Definition at line 46 of file BcidOffsetCorrection.h.

◆ m_eventInfo

JetEventInfo BcidOffsetCorrection::m_eventInfo
private

Definition at line 82 of file BcidOffsetCorrection.h.

◆ m_GeV

double JetCalibrationStep::m_GeV
protectedinherited

Definition at line 40 of file JetCalibrationStep.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_isData

bool BcidOffsetCorrection::m_isData {}
private

Definition at line 39 of file BcidOffsetCorrection.h.

◆ m_jetAlgo

TString BcidOffsetCorrection::m_jetAlgo
private

Definition at line 38 of file BcidOffsetCorrection.h.

◆ m_jetStartScale

std::string JetCalibrationStep::m_jetStartScale
protectedinherited

Definition at line 41 of file JetCalibrationStep.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_name

std::string JetCalibrationStep::m_name
protectedinherited

Definition at line 42 of file JetCalibrationStep.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.


The documentation for this class was generated from the following files:
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
BcidOffsetCorrection::m_doFCal0OuterBcid
bool m_doFCal0OuterBcid
Definition: BcidOffsetCorrection.h:47
BcidOffsetCorrection::m_bcid_slope_HEC0_8b4e_pos
std::unique_ptr< const TH2 > m_bcid_slope_HEC0_8b4e_pos
Definition: BcidOffsetCorrection.h:73
JetEventInfo::bcidGapBeforeTrainMinus12
Int_t bcidGapBeforeTrainMinus12()
Definition: JetEventInfo.h:34
JetEventInfo::bcidGapBeforeTrain
Int_t bcidGapBeforeTrain()
Definition: JetEventInfo.h:33
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
JetCalibrationStep::setStartP4
virtual StatusCode setStartP4(xAOD::Jet &jet) const
Definition: JetCalibrationStep.cxx:21
BcidOffsetCorrection::m_doFCal2InnerBcid
bool m_doFCal2InnerBcid
Definition: BcidOffsetCorrection.h:55
JetCalibUtils::GetHisto2
std::unique_ptr< const TH2 > GetHisto2(TFile &file, const TString &hname)
Definition: JetCalibUtils.cxx:53
BcidOffsetCorrection::m_doFCal1bcid
bool m_doFCal1bcid
Definition: BcidOffsetCorrection.h:51
BcidOffsetCorrection::m_bcid_slope_HEC1_pos
std::unique_ptr< const TH2 > m_bcid_slope_HEC1_pos
Definition: BcidOffsetCorrection.h:64
BcidOffsetCorrection::m_doHEC3bcid
bool m_doHEC3bcid
Definition: BcidOffsetCorrection.h:46
SG::ConstAccessor< float >
BcidOffsetCorrection::m_config
TEnv * m_config
Definition: BcidOffsetCorrection.h:37
BcidOffsetCorrection::m_doHEC0bcid
bool m_doHEC0bcid
Definition: BcidOffsetCorrection.h:43
BcidOffsetCorrection::m_bcid_slope_FCal0_8b4e
std::unique_ptr< const TH2 > m_bcid_slope_FCal0_8b4e
Definition: BcidOffsetCorrection.h:80
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
BcidOffsetCorrection::m_doEMECIW3bcid
bool m_doEMECIW3bcid
Definition: BcidOffsetCorrection.h:42
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
BcidOffsetCorrection::m_bcid_slope_HEC1_8b4e_pos
std::unique_ptr< const TH2 > m_bcid_slope_HEC1_8b4e_pos
Definition: BcidOffsetCorrection.h:74
BcidOffsetCorrection::m_bcid_nCells_FCal0
std::unique_ptr< const TH2 > m_bcid_nCells_FCal0
Definition: BcidOffsetCorrection.h:60
BcidOffsetCorrection::m_doFCal2OuterBcid
bool m_doFCal2OuterBcid
Definition: BcidOffsetCorrection.h:49
BcidOffsetCorrection::m_bcid_slope_HEC0_neg
std::unique_ptr< const TH2 > m_bcid_slope_HEC0_neg
Definition: BcidOffsetCorrection.h:67
BcidOffsetCorrection::m_doHEC2bcid
bool m_doHEC2bcid
Definition: BcidOffsetCorrection.h:45
JetCalibrationStep::JetCalibrationStep
JetCalibrationStep(const char *name="JetCalibrationStep")
Definition: JetCalibrationStep.cxx:12
FortranAlgorithmOptions.fileName
fileName
Definition: FortranAlgorithmOptions.py:13
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
JetEventInfo::mu
double mu()
Definition: JetEventInfo.h:27
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
BcidOffsetCorrection::m_doFCal0bcid
bool m_doFCal0bcid
Definition: BcidOffsetCorrection.h:50
CaloCondBlobAlgs_fillNoiseFromASCII.inputFile
string inputFile
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:17
xAOD::nCells
setRawEt setRawPhi nCells
Definition: TrigCaloCluster_v1.cxx:33
BcidOffsetCorrection::m_jetAlgo
TString m_jetAlgo
Definition: BcidOffsetCorrection.h:38
lumiFormat.i
int i
Definition: lumiFormat.py:92
BcidOffsetCorrection::m_bcid_slope_FCal0
std::unique_ptr< const TH2 > m_bcid_slope_FCal0
Definition: BcidOffsetCorrection.h:70
BcidOffsetCorrection::m_bcid_nCells_HEC1
std::unique_ptr< const TH2 > m_bcid_nCells_HEC1
Definition: BcidOffsetCorrection.h:59
BcidOffsetCorrection::m_bcid_slope_HEC1_neg
std::unique_ptr< const TH2 > m_bcid_slope_HEC1_neg
Definition: BcidOffsetCorrection.h:68
BcidOffsetCorrection::m_bcid_slope_EMECIW2_neg
std::unique_ptr< const TH2 > m_bcid_slope_EMECIW2_neg
Definition: BcidOffsetCorrection.h:66
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
BcidOffsetCorrection::m_doFCal0InnerBcid
bool m_doFCal0InnerBcid
Definition: BcidOffsetCorrection.h:53
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
BcidOffsetCorrection::m_bcid_slope_EMECIW2_pos
std::unique_ptr< const TH2 > m_bcid_slope_EMECIW2_pos
Definition: BcidOffsetCorrection.h:62
BcidOffsetCorrection::m_bcid_slope_EMECIW2_8b4e_pos
std::unique_ptr< const TH2 > m_bcid_slope_EMECIW2_8b4e_pos
Definition: BcidOffsetCorrection.h:72
BcidOffsetCorrection::m_bcid_nCells_HEC0
std::unique_ptr< const TH2 > m_bcid_nCells_HEC0
Definition: BcidOffsetCorrection.h:58
xAOD::JetFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Definition: JetTypes.h:17
BcidOffsetCorrection::m_bcid_slope_HEC1_8b4e_neg
std::unique_ptr< const TH2 > m_bcid_slope_HEC1_8b4e_neg
Definition: BcidOffsetCorrection.h:78
JetCalibrationStep::m_jetStartScale
std::string m_jetStartScale
Definition: JetCalibrationStep.h:41
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
BcidOffsetCorrection::m_doFCal1InnerBcid
bool m_doFCal1InnerBcid
Definition: BcidOffsetCorrection.h:54
BcidOffsetCorrection::m_bcid_slope_HEC0_8b4e_neg
std::unique_ptr< const TH2 > m_bcid_slope_HEC0_8b4e_neg
Definition: BcidOffsetCorrection.h:77
PathResolverFindCalibFile
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Definition: PathResolver.cxx:431
BcidOffsetCorrection::m_calibAreaTag
TString m_calibAreaTag
Definition: BcidOffsetCorrection.h:38
BcidOffsetCorrection::m_doFCal1OuterBcid
bool m_doFCal1OuterBcid
Definition: BcidOffsetCorrection.h:48
BcidOffsetCorrection::m_isData
bool m_isData
Definition: BcidOffsetCorrection.h:39
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
BcidOffsetCorrection::m_bcid_slope_EMECIW2_8b4e_neg
std::unique_ptr< const TH2 > m_bcid_slope_EMECIW2_8b4e_neg
Definition: BcidOffsetCorrection.h:76
JetEventInfo::bcidDistanceFromFront
Int_t bcidDistanceFromFront()
Definition: JetEventInfo.h:32
python.grid.isData
def isData(dataset)
Definition: grid.py:491
BcidOffsetCorrection::m_bcid_slope_HEC0_pos
std::unique_ptr< const TH2 > m_bcid_slope_HEC0_pos
Definition: BcidOffsetCorrection.h:63
BcidOffsetCorrection::m_doHEC1bcid
bool m_doHEC1bcid
Definition: BcidOffsetCorrection.h:44
BcidOffsetCorrection::m_bcid_nCells_EMECIW2
std::unique_ptr< const TH2 > m_bcid_nCells_EMECIW2
Definition: BcidOffsetCorrection.h:57
JetEventInfo::runNumber
UInt_t runNumber()
Definition: JetEventInfo.h:31
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
BcidOffsetCorrection::m_doEMECIW2bcid
bool m_doEMECIW2bcid
Definition: BcidOffsetCorrection.h:41
BcidOffsetCorrection::m_doFCal2bcid
bool m_doFCal2bcid
Definition: BcidOffsetCorrection.h:52
JetCalibrationStep::m_GeV
double m_GeV
Definition: JetCalibrationStep.h:40