Skip to Content.
Sympa Menu

star-fwd-software-l - [[Star-fwd-software-l] ] Issue with kFwdVtxId

star-fwd-software-l AT lists.bnl.gov

Subject: FWD Software

List archive

Chronological Thread  
  • From: Gavin Wilks <gwilks3 AT uic.edu>
  • To: star-fwd-software-l AT lists.bnl.gov
  • Subject: [[Star-fwd-software-l] ] Issue with kFwdVtxId
  • Date: Sat, 28 Sep 2024 11:18:37 -0500

Hello All,

I believe someone mentioned having an issue with the parameter “kFwdVtxId” at our last meeting. I am unable to compile the code without receiving the following error:

```

.sl73_gcc485/include/StVertex.h: In member function 'virtual void StVertex::setFwdVertex()':

.sl73_gcc485/include/StVertex.h:131:53: error: 'kFwdVtxId' was not declared in this scope

     virtual void setFwdVertex()       {SETBIT(mFlag,kFwdVtxId);}

                                                     ^

/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86/gcc-4.8.5/root-5.34.38-llsepmmfuwlsucogcwbjiodncxanoudt/include/Rtypes.h:166:32: note: in definition of macro 'BIT'

 #define BIT(n)       (1ULL << (n))

                                ^

.sl73_gcc485/include/StVertex.h:131:40: note: in expansion of macro 'SETBIT'

     virtual void setFwdVertex()       {SETBIT(mFlag,kFwdVtxId);}

                                        ^

.sl73_gcc485/include/StVertex.h: In member function 'bool StVertex::isFwdVtx() const':

.sl73_gcc485/include/StVertex.h:139:65: error: 'kFwdVtxId' was not declared in this scope

     bool        isFwdVtx()          const {return TESTBIT(mFlag,kFwdVtxId);}

                                                                 ^

/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86/gcc-4.8.5/root-5.34.38-llsepmmfuwlsucogcwbjiodncxanoudt/include/Rtypes.h:166:32: note: in definition of macro 'BIT'

 #define BIT(n)       (1ULL << (n))

                                ^

.sl73_gcc485/include/StVertex.h:139:51: note: in expansion of macro 'TESTBIT'

     bool        isFwdVtx()          const {return TESTBIT(mFlag,kFwdVtxId);}

                                                   ^

cons: *** [.sl73_gcc485/obj/StRoot/StEventUtilities/StEventHelper.o] Error 1

cons: errors constructing .sl73_gcc485/obj/StRoot/StEventUtilities/StEventHelper.o

```

I have checked StRoot/StEvent/StEnumerations.h where this parameter is defined and I do not see any issue. Has anyone had this problem and found a solution to this?

Best,
Gavin




Archive powered by MHonArc 2.6.24.

Top of Page