Print

Print


Hello All,
 This is complicated by the fact that HPSEcalClusterIC actually calls getRawEnergy() before
calculating the cluster position and energy corrections. I am checking to understand 
whether this is just a semantic issue.
Norman

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Sho Uemura
Sent: Monday, December 15, 2014 10:54 AM
To: Kyle McCarty
Cc: hps-software
Subject: Re: EVIO to LCIO: Raw Hit Energy

This is a known incompatibility between the LCSim builtin classes - a CalorimeterHit read from LCIO (SIOCalorimeterHit) has a corrected energy but no raw energy, and the LCSim base implementation of Cluster
(BaseCluster) uses the hit raw energy. We've always tried to avoid this by using corrected energy when possible.

The HPS subclasses of BaseCluster do not override that behavior; it's not "our fault" that the cluster code crashes. But either BaseCluster gets changed so it doesn't use raw energy, or we override the methods of BaseCluster that do.

On Mon, 15 Dec 2014, Kyle McCarty wrote:

> Hello hps-software,
>
> I am trying to write a version of the GTP clustering algorithm to run 
> over EVIO readout data and form clusters from the hits. This is useful 
> both to get cluster data that closely matches what the hardware is 
> actually seeing and also for trigger verification and diagnostic 
> drivers, since these will need to run the trigger over clusters that match the hardware.
>
> I am running into a problem with this because the readout hits do not 
> declare a raw energy and attempting to access it causes a RuntimeException.
> Normally, we use corrected energy, which is available, but the addHit 
> method in HPSEcalCluster apparently calls getRawEnergy at some point 
> and thusly crashes the simulation.
>
> Is there a way to fix this so that the hits in the EVIO readout will 
> have this value when converted to LCIO? Alternatively, should we 
> change the HPSEcalCluster to use the corrected energy?
>
> Thanks,
>
> Kyle
>
> ######################################################################
> ##
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1