ATLAS Offline Software
Loading...
Searching...
No Matches
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}
static Double_t a
TStreamerInfo * inf
TIter nextinfo(a)