![]() |
ATLAS Offline Software
|
#include <TFile.h>#include <TError.h>#include "AthAnalysisBaseComps/AthAnalysisHelper.h"#include "POOLRootAccess/TEvent.h"#include "AsgMessaging/MessageCheck.h"#include "xAODEventInfo/EventInfo.h"#include "xAODEgamma/ElectronContainer.h"#include "PATCore/PATCoreEnums.h"#include "AsgTools/AnaToolHandle.h"#include "EgammaAnalysisInterfaces/IAsgElectronEfficiencyCorrectionTool.h"#include "TrigGlobalEfficiencyCorrection/TrigGlobalEfficiencyCorrectionTool.h"#include <random>Go to the source code of this file.
Macros | |
| #define | MSGSOURCE "Example 4" |
Functions | |
| StatusCode | testElectrons (const char *APP_NAME, bool quiet) |
| StatusCode | testPhotons (const char *APP_NAME, bool quiet) |
| int | main (int argc, char *argv[]) |
| #define MSGSOURCE "Example 4" |
Definition at line 40 of file TrigGlobEffCorrExample4.cxx.
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 48 of file TrigGlobEffCorrExample4.cxx.
| StatusCode testElectrons | ( | const char * | APP_NAME, |
| bool | quiet ) |
Retrieve the list of electron map keys for the chosen trigger combination
Then create all the needed electron tools and initialize the TrigGlob tool using the information returned by suggestElectronMapKeys()
Trigger efficiency/scale factor CP tools for electrons and muons
one tool instance for efficiencies, another for scale factors
Safer to retrieve the name from the final ToolHandle, it might be prefixed (by the parent tool name) when the handle is copied
Definition at line 75 of file TrigGlobEffCorrExample4.cxx.
| StatusCode testPhotons | ( | const char * | APP_NAME, |
| bool | quiet ) |
Retrieve the list of electron map keys for the chosen trigger combination
Then create all the needed photon tools and initialize the TrigGlob tool using the information returned by suggestPhotonMapKeys()
Trigger efficiency/scale factor CP tools for photons
one tool instance for efficiencies, another for scale factors
Definition at line 178 of file TrigGlobEffCorrExample4.cxx.