[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JANA old version



Hi David,

I have a quick question:

I am trying to recompile my code which worked a few days ago and all of
the sudden  ran into the following compillation errors (which, I surmise,
are related to the new JANA release)

g++ -I. -I.. -I../include -I/home/somov/HallD/include
-I/home/somov/HallD/include -D_ROOT_ -pthread
-I/apps/root/PRO/root/include -I/apps/root/PRO/root/include
-I/group/12gev_phys/builds/PRODUCTION/include
-I/group/halld/Software/ExternalPackages/xerces-c-src_2_7_0.Linux-i686/include
-DXERCESC -O2 -Wall   -c -o .obj/Linux-i686/em_bg.o em_bg.cc
In file included from em_bg.cc:8:
em_bg.h:20: syntax error before `{' token
em_bg.h:23: destructors must be member functions
em_bg.h:26: syntax error before `private'
em_bg.h:28: `JEventLoop' was not declared in this scope
em_bg.h:28: `eventLoop' was not declared in this scope


It complaines to the lines from em_bg.cc, in particular to the class
definition (?)

class DEventProcessor_bcal_hists:public JEventProcessor{
        public:
                DEventProcessor_bcal_hists(){};
                ~DEventProcessor_bcal_hists(){};
                const char* className(void){return
"DEventProcessor_bcal_hists";};

        private:
                jerror_t init(void);      ///< Called once at program
start.
                jerror_t brun(JEventLoop *eventLoop, int runnumber);
///< Called everytime a new run number is detected.


I am attaching a dependency file em_bg.d. I have all libs installed
localy, but I am using includes from
/group/12gev_phys/builds/PRODUCTION/include/JANA/...


Do you have any ideas how to get old stuff running (I want to finish
with the review materials asap)?
(or I have to checkout a new reco version; I am trying to do it now)


Thanks!

Cheers,
      Sascha
em_bg.o: em_bg.cc em_bg.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JEventProcessor.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/jerror.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JParameterManager.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JParameter.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JObject.h \
  /apps/root/PRO/root/include/TFile.h \
  /apps/root/PRO/root/include/TDirectory.h \
  /apps/root/PRO/root/include/TNamed.h \
  /apps/root/PRO/root/include/TObject.h \
  /apps/root/PRO/root/include/Rtypes.h \
  /apps/root/PRO/root/include/RConfig.h \
  /apps/root/PRO/root/include/RVersion.h \
  /apps/root/PRO/root/include/DllImport.h \
  /apps/root/PRO/root/include/Rtypeinfo.h \
  /apps/root/PRO/root/include/TGenericClassInfo.h \
  /apps/root/PRO/root/include/Varargs.h \
  /apps/root/PRO/root/include/TStorage.h \
  /apps/root/PRO/root/include/Riosfwd.h \
  /apps/root/PRO/root/include/TBuffer.h \
  /apps/root/PRO/root/include/Bytes.h \
  /apps/root/PRO/root/include/Byteswap.h \
  /apps/root/PRO/root/include/TList.h \
  /apps/root/PRO/root/include/TSeqCollection.h \
  /apps/root/PRO/root/include/TCollection.h \
  /apps/root/PRO/root/include/TIterator.h \
  /apps/root/PRO/root/include/TString.h \
  /apps/root/PRO/root/include/TMath.h \
  /apps/root/PRO/root/include/TRefCnt.h \
  /apps/root/PRO/root/include/TDatime.h \
  /apps/root/PRO/root/include/Htypes.h \
  /apps/root/PRO/root/include/TUUID.h /apps/root/PRO/root/include/TUrl.h \
  /apps/root/PRO/root/include/TH1.h \
  /apps/root/PRO/root/include/TVirtualHistPainter.h \
  /apps/root/PRO/root/include/TClass.h \
  /apps/root/PRO/root/include/TDictionary.h \
  /apps/root/PRO/root/include/Property.h \
  /apps/root/PRO/root/include/TROOT.h \
  /apps/root/PRO/root/include/TObjArray.h \
  /apps/root/PRO/root/include/TStreamerInfo.h \
  /apps/root/PRO/root/include/TAxis.h \
  /apps/root/PRO/root/include/TAttAxis.h \
  /apps/root/PRO/root/include/Gtypes.h \
  /apps/root/PRO/root/include/TArrayD.h \
  /apps/root/PRO/root/include/TArray.h \
  /apps/root/PRO/root/include/THashList.h \
  /apps/root/PRO/root/include/TAttLine.h \
  /apps/root/PRO/root/include/TAttFill.h \
  /apps/root/PRO/root/include/TAttMarker.h \
  /apps/root/PRO/root/include/TArrayC.h \
  /apps/root/PRO/root/include/TArrayS.h \
  /apps/root/PRO/root/include/TArrayI.h \
  /apps/root/PRO/root/include/TArrayF.h \
  /apps/root/PRO/root/include/Foption.h \
  /apps/root/PRO/root/include/TVectorFfwd.h \
  /apps/root/PRO/root/include/TVectorDfwd.h \
  /apps/root/PRO/root/include/TH2.h \
  /apps/root/PRO/root/include/TMatrixFBasefwd.h \
  /apps/root/PRO/root/include/TMatrixDBasefwd.h \
  /apps/root/PRO/root/include/TProfile.h \
  /apps/root/PRO/root/include/TTree.h \
  /apps/root/PRO/root/include/TClonesArray.h \
  /apps/root/PRO/root/include/TBranch.h \
  /apps/root/PRO/root/include/TStringLong.h \
  /apps/root/PRO/root/include/TVirtualTreePlayer.h \
  /apps/root/PRO/root/include/TDataType.h \
  /apps/root/PRO/root/include/TLorentzVector.h \
  /apps/root/PRO/root/include/TVector3.h \
  /apps/root/PRO/root/include/TError.h \
  /apps/root/PRO/root/include/TVector2.h \
  /apps/root/PRO/root/include/TMatrix.h \
  /apps/root/PRO/root/include/TMatrixF.h \
  /apps/root/PRO/root/include/TMatrixT.h \
  /apps/root/PRO/root/include/TMatrixTBase.h \
  /apps/root/PRO/root/include/TMatrixTUtils.h \
  /apps/root/PRO/root/include/TMatrixFfwd.h \
  /apps/root/PRO/root/include/TMatrixFUtils.h \
  /apps/root/PRO/root/include/TMatrixFUtilsfwd.h \
  /apps/root/PRO/root/include/TRotation.h \
  /home/somov/HallD/include/DANA/DApplication.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JApplication.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JEventSourceGenerator.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JFactoryGenerator.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JEventLoop.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JException.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JEvent.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JEventSource.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JFactory_base.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JCalibration.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JGeometry.h \
  /home/somov/HallD/include/BCAL/DBCALShower.h \
  /group/12gev_phys/builds/PRODUCTION/include/JANA/JFactory.h \
  /home/somov/HallD/include/BCAL/DBCALTruthShower.h \
  /home/somov/HallD/include/BCAL/DHDDMBCALHit.h \
  /home/somov/HallD/include/BCAL/DBCALMCResponse.h \
  /home/somov/HallD/include/BCAL/DBCALGeometry.h \
  /home/somov/HallD/include/FCAL/DFCALCluster.h \
  /home/somov/HallD/include/DVector3.h \
  /home/somov/HallD/include/FCAL/DFCALHit.h \
  /home/somov/HallD/include/TRACKING/DMCThrown.h \
  /home/somov/HallD/include/PID/DKinematicData.h \
  /home/somov/HallD/include/DRandom.h \
  /apps/root/PRO/root/include/TRandom.h \
  /home/somov/HallD/include/DLorentzVector.h \
  /home/somov/HallD/include/DMatrixDSym.h \
  /apps/root/PRO/root/include/TMatrixDSym.h \
  /apps/root/PRO/root/include/TMatrixTSym.h \
  /apps/root/PRO/root/include/TMatrixDSymfwd.h \
  /apps/root/PRO/root/include/TMatrixDUtils.h \
  /apps/root/PRO/root/include/TMatrixDUtilsfwd.h \
  /home/somov/HallD/include/TOF/DTOFHit.h \
  /home/somov/HallD/include/TOF/DHDDMTOFHit.h \
  /home/somov/HallD/include/TOF/DTOFPoint.h \
  /home/somov/HallD/include/TOF/DTOFGeometry.h \
  /home/somov/HallD/include/TOF/DTOFMCResponse.h \
  /home/somov/HallD/include/TRACKING/DMCTrackHit.h \
  /home/somov/HallD/include/GlueX.h \
  /home/somov/HallD/include/PID/DBeamPhoton.h \
  /home/somov/HallD/include/START_COUNTER/DSCHit.h \
  /home/somov/HallD/include/START_COUNTER/DSCTruthHit.h