|
ATLAS Offline Software
|
Go to the documentation of this file.
16 using namespace asg::msgUserCode;
20 std::cerr <<
"usage: " <<
argv[0] <<
": <DAOD> <jet collection>"
25 std::string jets_name =
argv[2];
28 const std::string
APP_NAME =
"BTagTestDumper";
37 std::unique_ptr<TFile>
ifile(TFile::Open(
file.c_str(),
"READ"));
39 std::cerr <<
"Couldn't open file: " <<
file << std::endl;
46 unsigned long long nbad = 0;
47 unsigned long long ngood = 0;
48 unsigned long long entries =
event.getEntries();
52 std::cerr <<
"Couldn't load entry " <<
entry <<
" from file"
67 std::cout <<
"found " << nbad <<
" jets with no valid btagging link "
68 <<
"in " << nbad + ngood <<
" jets" << std::endl;
@ kClassAccess
Access auxiliary data using the aux containers.
int main(int, char **)
Main class for all the CppUnit test classes
StatusCode readFrom(TFile *file)
int main ATLAS_NOT_THREAD_SAFE(int argc, char *argv[])
POOL::TEvent event(POOL::TEvent::kClassAccess)
const BTagging * getBTagging(const SG::AuxElement &part)
Access the default xAOD::BTagging object associated to an object.
StatusCode retrieve(const T *&obj)
Tool for accessing xAOD files outside of Athena.
StatusCode Init(const char *appname)
Function initialising ROOT/PyROOT for using the ATLAS EDM.