ATLAS Offline Software
liststreamerinfos.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 {
6 
7  TFile f("bs-streamerinfos.root");
8 
9 
10  TList *a = f.GetStreamerInfoList();
11  TIter nextinfo(a);
12  TStreamerInfo *inf;
13  while ((inf = (TStreamerInfo *)nextinfo()) != 0){
14  TString name = inf->GetName();
15  if(name.BeginsWith("listOfRules"))
16  std::cerr << "Skipping class with name " << name << std::endl;
17  else
18  {
19  inf->BuildCheck();
20  TClass *cl = inf->GetClass();
21  if (cl)
22  std::cout << "external TStreamerInfo for " << name
23  << " checksum: " << inf->GetCheckSum() << std::endl;
24  }
25  }
26 
27 }
inf
TStreamerInfo * inf
Definition: liststreamerinfos.cxx:12
nextinfo
TIter nextinfo(a)
hist_file_dump.f
f
Definition: hist_file_dump.py:135
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
a
TList * a
Definition: liststreamerinfos.cxx:10
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26