|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   37     using namespace asg::msgUserCode;
 
   44         ANA_MSG_ERROR( 
"  Usage: %s [xAOD file name]  %d Num of events to process %d (0 photons , 1 electrons)");
 
   66         const Long64_t userInputEntries = atoll(
argv[2]);
 
   75     ANA_CHECK(fudgeTool.setProperty(
"ConfigFile",
"EGammaVariableCorrection/ElectronPhotonVariableCorrectionBase_ExampleIsoCorrectionConf.conf"));
 
   81     ANA_CHECK(isoCorrToolFull.setProperty(
"Apply_etaEDPar_mc_correction", 
true));
 
   82     ANA_CHECK(isoCorrToolFull.setProperty(
"Apply_etaEDParPU_correction", 
true));
 
   86     ANA_CHECK(isoCorrToolStep.setProperty(
"Apply_etaEDPar_mc_correction", 
false));
 
   87     ANA_CHECK(isoCorrToolStep.setProperty(
"Apply_etaEDParPU_correction", 
true));
 
  115             ANA_MSG_INFO(
"topoetcone40 fudge before applyCorrection: " << topoEtCone40OriginalAcc(*photons_fudge.first->at(
idx)));
 
  116         ANA_MSG_INFO(
"topoetcone40 fudge after  applyCorrection : " << topoEtCone40Acc(*photons_fudge.first->at(
idx)));
 
  117             ANA_MSG_INFO(
"topoetcone40 with IsolationCorrectionTool : " << topoEtCone40Acc(*photons_isocorr.first->at(
idx)));
 
  
virtual StatusCode initialize() override
Initialize the class instance.
const CP::CorrectionCode applyCorrection(xAOD::Photon &photon) const
Apply the correction given in the conf file to the passed photon.
int main(int argc, char *argv[])
Test code to compare output of ElectronPhotonVariableCorrectionBase correction to the isolation corre...
@ kClassAccess
Access auxiliary data using the aux containers.
::Long64_t getEntries() const
Get how many entries are available from the current input file(s)
::Int_t getEntry(::Long64_t entry, ::Int_t getall=0)
Function loading a given entry of the input TTree.
Class to correct electron and photon MC variables.
StatusCode readFrom(::TFile *file, bool useTreeCache=true, std::string_view treeName=EVENT_TREE_NAME)
Connect the object to a new input file.
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, [[maybe_unused]] const EventContext &ctx)
Function making a shallow copy of a constant container.
A relatively simple transient store for objects created in analysis.
StatusCode retrieve(const T *&obj, const std::string &key)
Retrieve either an input or an output object from the event.
size_type size() const noexcept
Returns the number of elements in the collection.
Tool for accessing xAOD files outside of Athena.