28 public std::unique_ptr<TChain>
41 JChain(
const char*
const name) :
42 std::unique_ptr<TChain>(
new TChain(name))
52 friend inline bool operator<(
const JChain& first,
const JChain& second)
54 return strcmp(first->GetName(), second->GetName()) < 0;
76 JParser<> zap(
"Auxiliary program to print ROOT TChain information.");
83 catch(
const exception &error) {
93 TFile* file = TFile::Open(file_name->c_str());
101 TKey* p =
dynamic_cast<TKey*
>(file->GetListOfKeys()->Before(key));
103 if (p ==
NULL ||
strcmp(key->GetName(), p->GetName()) != 0) {
105 TTree*
tree =
dynamic_cast<TTree*
>(key->ReadObj());
119 for (
auto&
chain : buffer) {
122 chain->Add(file_name->c_str());
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Template definition of a multi-dimensional oscillation probability interpolation table.
bool operator<(const Head &first, const Head &second)
Less than operator.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary base class for list of file names.