| 102 |
TChain *Tout=0; |
TChain *Tout=0; |
| 103 |
// |
// |
| 104 |
TChain *RI = 0; |
TChain *RI = 0; |
| 105 |
TChain *SI = 0; |
RI = new TChain("Run"); |
|
RI = new TChain("RunInfo"); |
|
|
SI = new TChain("SoftInfo"); |
|
| 106 |
// loop over files and create chains |
// loop over files and create chains |
| 107 |
TIter next(fl); |
TIter next(fl); |
| 108 |
TSystemFile *questo = 0; |
TSystemFile *questo = 0; |
| 109 |
while ( (questo = (TSystemFile*) next()) ) { |
while ( (questo = (TSystemFile*) next()) ) { |
| 110 |
TString name = questo->GetName(); |
TString name = questo->GetName(); |
| 111 |
RI->Add(name); |
RI->Add(name); |
|
SI->Add(name); |
|
| 112 |
}; |
}; |
| 113 |
// |
// |
| 114 |
RI->SetBranchAddress("RunInfo", GetPointerToRI()); |
RI->SetBranchAddress("Run", GetPointerToRI()); |
| 115 |
Tout = RI; |
Tout = RI; |
|
SI->SetBranchAddress("SoftInfo", GetPointerToSI()); |
|
|
Tout->AddFriend("SoftInfo"); |
|
| 116 |
// |
// |
| 117 |
return Tout; |
return Tout; |
| 118 |
// |
// |
| 195 |
isreadonly = false; |
isreadonly = false; |
| 196 |
idRun = run; |
idRun = run; |
| 197 |
// |
// |
| 198 |
Bool_t debug = true; |
Bool_t debug = false; |
| 199 |
// |
// |
| 200 |
Bool_t ismydir = false; |
Bool_t ismydir = false; |
| 201 |
// |
// |