ATLAS Offline Software
|
#include <fstream>
#include <map>
#include <memory>
#include <getopt.h>
#include <TSystem.h>
#include <TError.h>
#include <TFile.h>
#include <TH1F.h>
#include "POOLRootAccess/TEvent.h"
#include "AsgTools/AnaToolHandle.h"
#include "xAODEventInfo/EventInfo.h"
#include "xAODEventInfo/EventAuxInfo.h"
#include "xAODEgamma/Electron.h"
#include "xAODMuon/Muon.h"
#include "AthContainers/Accessor.h"
#include "AsgMessaging/MessageCheck.h"
#include "AsgAnalysisInterfaces/IFakeBkgTool.h"
#include "AsgAnalysisInterfaces/ILinearFakeBkgTool.h"
Go to the source code of this file.
Classes | |
struct | Result |
Macros | |
#define | FBT_CHECK1(x, FAIL) |
#define | FBT_CHECK(x) FBT_CHECK1(x, false) |
Functions | |
bool | successful (bool arg) |
bool | successful (int arg) |
bool | successful (const StatusCode &arg) |
bool allTests | ATLAS_NOT_THREAD_SAFE () |
Install fatal handler with default options. More... | |
bool minimalTest | ATLAS_NOT_THREAD_SAFE (const std::string &type, Result &result) |
bool parallelJob | ATLAS_NOT_THREAD_SAFE (const std::string &type, const std::string &saveAs) |
template<class Interface = CP::IFakeBkgTool> | |
bool setup | ATLAS_NOT_THREAD_SAFE (asg::AnaToolHandle< Interface > &tool, const std::string &type) |
mostly useful for athena, which will otherwise re-use the previous tool More... | |
template<class Interface = CP::IFakeBkgTool> | |
bool eventLoop | ATLAS_NOT_THREAD_SAFE (asg::AnaToolHandle< Interface > &tool, Result &result) |
bool addEventWeight | ATLAS_NOT_THREAD_SAFE (asg::AnaToolHandle< CP::ILinearFakeBkgTool > &tool, Result &result) |
bool addEventWeight | ATLAS_NOT_THREAD_SAFE (asg::AnaToolHandle< CP::IFakeBkgTool > &tool, Result &result) |
template<class Interface = CP::IFakeBkgTool> | |
bool fillResult | ATLAS_NOT_THREAD_SAFE (asg::AnaToolHandle< Interface > &tool, Result &result) |
int main | ATLAS_NOT_THREAD_SAFE (int argc, char *argv[]) |
Variables | |
StoreGateSvc * | store = nullptr |
std::vector< std::string > | config |
std::string | selection = ">=1T" |
std::string | process = ">=1F[T]" |
bool | readCPVariations = true |
int | eventOffset = 0 |
int | nEvents = 48 |
std::string | progressFile = "" |
bool | verbose = false |
#define FBT_CHECK | ( | x | ) | FBT_CHECK1(x, false) |
Definition at line 47 of file fbtTestBasics.cxx.
#define FBT_CHECK1 | ( | x, | |
FAIL | |||
) |
Definition at line 40 of file fbtTestBasics.cxx.
|
inline |
Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
Install fatal handler with default options.
getLorentzAngle() Read LorentzAngle from HIST and write out into local DB
getBSErrors() Read BSErrors from Monitoring HIST and write out into local DB
getEfficiency() Read Efficiency from Monitoring HIST and write out into local DB
getRawOccupancy() Read RawOccupancy from Monitoring HIST and write out into local DB
getNoiseOccupancy() Read NoiseOccupancy from HIST and write out into local DB
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
note: the declarations must be placed in the "good" order, otherwise the definitions of the SystematicVariations will be different than those obtained with readFromROOT()
Definition at line 112 of file fbtTestBasics.cxx.
bool addEventWeight ATLAS_NOT_THREAD_SAFE | ( | asg::AnaToolHandle< CP::IFakeBkgTool > & | tool, |
Result & | result | ||
) |
Definition at line 263 of file fbtTestBasics.cxx.
bool addEventWeight ATLAS_NOT_THREAD_SAFE | ( | asg::AnaToolHandle< CP::ILinearFakeBkgTool > & | tool, |
Result & | result | ||
) |
Definition at line 246 of file fbtTestBasics.cxx.
bool setup ATLAS_NOT_THREAD_SAFE | ( | asg::AnaToolHandle< Interface > & | tool, |
const std::string & | type | ||
) |
mostly useful for athena, which will otherwise re-use the previous tool
Definition at line 195 of file fbtTestBasics.cxx.
bool eventLoop ATLAS_NOT_THREAD_SAFE | ( | asg::AnaToolHandle< Interface > & | tool, |
Result & | result | ||
) |
Definition at line 214 of file fbtTestBasics.cxx.
bool fillResult ATLAS_NOT_THREAD_SAFE | ( | asg::AnaToolHandle< Interface > & | tool, |
Result & | result | ||
) |
Definition at line 269 of file fbtTestBasics.cxx.
Definition at line 173 of file fbtTestBasics.cxx.
int main ATLAS_NOT_THREAD_SAFE | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 84 of file fbtTestBasics.cxx.
bool successful | ( | bool | arg | ) |
Definition at line 35 of file fbtTestBasics.cxx.
bool successful | ( | const StatusCode & | arg | ) |
Definition at line 37 of file fbtTestBasics.cxx.
bool successful | ( | int | arg | ) |
std::vector<std::string> config |
Definition at line 74 of file fbtTestBasics.cxx.
int eventOffset = 0 |
Definition at line 78 of file fbtTestBasics.cxx.
int nEvents = 48 |
Definition at line 79 of file fbtTestBasics.cxx.
std::string process = ">=1F[T]" |
Definition at line 76 of file fbtTestBasics.cxx.
std::string progressFile = "" |
Definition at line 80 of file fbtTestBasics.cxx.
bool readCPVariations = true |
Definition at line 77 of file fbtTestBasics.cxx.
std::string selection = ">=1T" |
Definition at line 75 of file fbtTestBasics.cxx.
StoreGateSvc* store = nullptr |
Definition at line 71 of file fbtTestBasics.cxx.
bool verbose = false |
Definition at line 82 of file fbtTestBasics.cxx.