sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
- From: pinkenburg <pinkenburg AT bnl.gov>
- To: sphenix-software-l AT lists.bnl.gov
- Subject: Re: [Sphenix-software-l] DST reading broken
- Date: Mon, 12 Apr 2021 08:28:08 -0400
Hi Christof,
that's because of the broken schema evolution which is now fixed in the core software. The fallout of any such fixes is typically that you cannot read back old files.
I am working on a two step process to convert old DSTs (to salvage our MDC DSTs) which you could apply to these once this is ready. Otherwise either creating new DSTs or linking against an old ana build (before the code change last week) is the only option
Sorry,
Chris
On 4/12/2021 5:22 AM, Christof E Roland
wrote:
Hi Everybody, I tried to write some hit files and read them back for clustering using the latest coresoftware/macros repos and this consistently fails due to the versioning of the ClusterHitAssoc. See error messages below. Could so,eoen have a look? Thanks Christof Warning in <TStreamerInfo::BuildCheck>: The StreamerInfo of class TrkrClusterHitAssoc read from file /phenix/u/bogui/RunOct20/Jan21Const/SvtxJan21_Pu50_020_2_10_1125.root has the same version (=1) as the active class but a different checksum. You should update the version to ClassDef(TrkrClusterHitAssoc,2). Do not try to write objects with the current class definition, the files will not be readable. Warning in <TStreamerInfo::CompareContent>: The following data member of the in-memory layout version 1 of class 'TrkrClusterHitAssoc' is missing from the on-file layout version 1: multimap<unsigned long,unsigned int> m_map; // Warning in <TClass::Init>: no dictionary for class MvtxHit is available Warning in <TStreamerInfo::BuildCheck>: The StreamerInfo of class TrkrHit read from file /phenix/u/bogui/RunOct20/Jan21Const/SvtxJan21_Pu50_020_2_10_1125.root has the same version (=1) as the active class but a different checksum. You should update the version to ClassDef(TrkrHit,2). Do not try to write objects with the current class definition, the files will not be readable. Warning in <TStreamerInfo::CompareContent>: The following data member of the in-memory layout version 1 of class 'TrkrHit' is missing from the on-file layout version 1: double m_edep; // Warning in <TStreamerInfo::CompareContent>: The following data member of the in-memory layout version 1 of class 'TrkrHit' is missing from the on-file layout version 1: unsigned int m_adc; // Warning in <TClass::Init>: no dictionary for class InttHit is available Warning in <TClass::Init>: no dictionary for class TpcHit is available input_line_202:5:21: error: allocating an object of abstract class type 'TrkrClusterHitAssoc' *ret = new TrkrClusterHitAssoc; ^ TrkrClusterHitAssoc_Dict dictionary payload:39:16: note: unimplemented pure virtual method 'identify' in 'TrkrClusterHitAssoc' virtual void identify(std::ostream &os = std::cout) const = 0; ^ TrkrClusterHitAssoc_Dict dictionary payload:37:16: note: unimplemented pure virtual method 'Reset' in 'TrkrClusterHitAssoc' virtual void Reset() = 0; ^ TrkrClusterHitAssoc_Dict dictionary payload:46:16: note: unimplemented pure virtual method 'addAssoc' in 'TrkrClusterHitAssoc' virtual void addAssoc(TrkrDefs::cluskey ckey, unsigned int hidx) = 0; ^ TrkrClusterHitAssoc_Dict dictionary payload:49:6: note: unimplemented pure virtual method 'getClusterSet' in 'TrkrClusterHitAssoc' *getClusterSet(unsigned int layer, unsigned int phi_segment, unsigned int z_segment) = 0; ^ TrkrClusterHitAssoc_Dict dictionary payload:58:5: note: unimplemented pure virtual method 'getHits' in 'TrkrClusterHitAssoc' getHits(TrkrDefs::cluskey ckey) = 0; ^ TrkrClusterHitAssoc_Dict dictionary payload:60:24: note: unimplemented pure virtual method 'size' in 'TrkrClusterHitAssoc' virtual unsigned int size(void) const = 0; ^ input_line_202:8:21: error: allocating an object of abstract class type 'TrkrClusterHitAssoc' *ret = new TrkrClusterHitAssoc[nary]; ^ input_line_202:13:29: error: allocating an object of abstract class type 'TrkrClusterHitAssoc' *ret = new (arena) TrkrClusterHitAssoc; ^ input_line_202:16:29: error: allocating an object of abstract class type 'TrkrClusterHitAssoc' *ret = new (arena) TrkrClusterHitAssoc[nary]; ^ Error in <TClingCallFunc::make_ctor_wrapper>: Failed to compile ==== SOURCE BEGIN ==== __attribute__((used)) extern "C" void __ctor_0(void** ret, void* arena, unsigned long nary) { if (!arena) { if (!nary) { *ret = new TrkrClusterHitAssoc; } else { *ret = new TrkrClusterHitAssoc[nary]; } } else { if (!nary) { *ret = new (arena) TrkrClusterHitAssoc; } else { *ret = new (arena) TrkrClusterHitAssoc[nary]; } } } ==== SOURCE END ==== Error in <TClingCallFunc::ExecDefaultConstructor>: Called with no wrapper, not implemented!
_______________________________________________ sPHENIX-software-l mailing list sPHENIX-software-l AT lists.bnl.gov https://lists.bnl.gov/mailman/listinfo/sphenix-software-l
-- ************************************************************* Christopher H. Pinkenburg ; pinkenburg AT bnl.gov ; http://www.phenix.bnl.gov/~pinkenbu Brookhaven National Laboratory ; phone: (631) 344-5692 Physics Department Bldg 510 C ; fax: (631) 344-3253 Upton, NY 11973-5000 *************************************************************
-
[Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
pinkenburg, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
- Re: [Sphenix-software-l] DST reading broken, Thomas K Hemmick, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
pinkenburg, 04/12/2021
Archive powered by MHonArc 2.6.24.