/[PAMELA software]/eventviewer/flight/src/FEVdetector.cpp
ViewVC logotype

Diff of /eventviewer/flight/src/FEVdetector.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by mocchiut, Thu Jan 16 15:52:35 2014 UTC revision 1.38 by mocchiut, Tue Nov 4 11:14:53 2014 UTC
# Line 426  void FEVdetector::ShowInfo(TString detec Line 426  void FEVdetector::ShowInfo(TString detec
426      TBranchElement *tb = (TBranchElement*)branch_array->At(l);      TBranchElement *tb = (TBranchElement*)branch_array->At(l);
427      Int_t type = tb->GetType();      Int_t type = tb->GetType();
428      Int_t atype = tb->GetStreamerType() - 20;      Int_t atype = tb->GetStreamerType() - 20;
429      Int_t len = (tb->GetInfo()->GetLengths())[tb->GetID()];      //    Int_t len = (tb->GetInfo()->GetLengths())[tb->GetID()];
430        Int_t len = tb->GetInfo()->GetLength(tb->GetID());
431      Int_t length = min(len,dlen);      Int_t length = min(len,dlen);
432      //      //
433      //        printf("Branches : type is %i type is %i tb getname %s  slen %i slength %i\n",atype,type,tb->GetName(),len,length);      //        printf("Branches : type is %i type is %i tb getname %s  slen %i slength %i\n",atype,type,tb->GetName(),len,length);
# Line 659  void FEVdetector::ShowInfo(TString detec Line 660  void FEVdetector::ShowInfo(TString detec
660              TBranchElement *stb = (TBranchElement*)tb->FindBranch(name);              TBranchElement *stb = (TBranchElement*)tb->FindBranch(name);
661              Int_t stype = stb->GetType();              Int_t stype = stb->GetType();
662              Int_t satype = stb->GetStreamerType() - 20;              Int_t satype = stb->GetStreamerType() - 20;
663              Int_t slen = (stb->GetInfo()->GetLengths())[stb->GetID()];              //      Int_t slen = (stb->GetInfo()->GetLengths())[stb->GetID()];
664                Int_t slen = stb->GetInfo()->GetLength(stb->GetID());
665              Int_t slength = min(slen,dlen);              Int_t slength = min(slen,dlen);
666              //      printf("SubBranches : atype is %i type is %i tb getname %s  slen %i slength %i\n",satype,stype,stb->GetName(),slen,slength);              //      printf("SubBranches : atype is %i type is %i tb getname %s  slen %i slength %i\n",satype,stype,stb->GetName(),slen,slength);
667              switch (stype){              switch (stype){

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.23