Linear Collider Forum



Home » Analysis and Reconstruction » Reconstruction » Why org.lcsim.util.lcio.SIOSimCalorimeterHit is not public?!
Why org.lcsim.util.lcio.SIOSimCalorimeterHit is not public?! [message #231] Fri, 22 April 2005 15:13 Go to previous message
lima
Messages: 47
Registered: May 2004
Location: DeKalb, IL, USA
Hi,

I am porting DigiSim to org.lcsim framework.

I was trying to create some RawCalHits from SimCalHits. There was no RawCalHit interface or SIORawCalHit class defined, so I created those myself, by starting from SimCalHit interface and SIOSimCalHit class. So far so good, I could compile and build a .jar file.

Next I tried to create some raw hits, and then I found that I cannot do this:

import org.lcsim.util.lcio.SIOSimCalorimeterHit;
import org.lcsim.util.lcio.SIORawCalorimeterHit;

because the compilation gives me:

-------------------------
DigiSimProcessor.java:24: org.lcsim.util.lcio.SIOSimCalorimeterHit is not public in org.lcsim.util.lcio; cannot be accessed from outside package
import org.lcsim.util.lcio.SIOSimCalorimeterHit;
^
DigiSimProcessor.java:25: org.lcsim.util.lcio.SIORawCalorimeterHit is not public in org.lcsim.util.lcio; cannot be accessed from outside package
import org.lcsim.util.lcio.SIORawCalorimeterHit;
^
-------------------------------------------------

Am I not supposed to use these implementation classes directly?

I also could not yet find some example code writing SimCalorimeterHits within org.lcsim framework. I would like to have such example I could study and see how to do this.

Any help would be much appreciated!!

Thanks in advance,
Guilherme
 
Read Message
Read Message
Read Message
Previous Topic:Problems using LCDG4 data with org.lcsim
Next Topic:One block handler per RawCalHit class implementation?
Goto Forum:
  


Current Time: Mon Aug 20 13:55:04 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software