Print

Print


I'm not running any converter, I'm just reading the recon data available 
on tape, run 3261 to be precise..


Il 12/01/15 18:14, McCormick, Jeremy I. ha scritto:
> Hi, Luca.
>
> If you are running EvioToLcio then you may need to specify the run 
> number manually if there is not an EVIO header record first.
>
> java -cp 
> ~/.m2/repository/org/hps/hps-distribution/3.1-SNAPSHOT/hps-distribution-3.1-SNAPSHOT-bin.jar 
> org.hps.evio.EvioToLcio -R 3261 [args]
>
> This should not be necessary if you are running off of the LCIO files 
> as the run number is extracted from each event in that format, and it 
> is written there by the EVIO converter.
>
> —Jeremy
>
> On Jan 12, 2015, at 6:44 AM, Luca Colaneri <[log in to unmask] 
> <mailto:[log in to unmask]>> wrote:
>
>> Hello all,
>>
>> I may have found the issue. I was running the code over the full 
>> batch of files of run 3261. When starting, the condition manager 
>> recognize the run and everything work, but when passing to the second 
>> file, it doesn't and says "run#0". I run the code separetly on the 
>> three files and this happens for the second and the third, the output 
>> message is in the attachment.
>>
>> Am I doing something wrong or the files just don't have the run info 
>> and conditions?
>>
>> Luca
>>
>>
>>
>>
>> Il 12/01/2015 12:32, Luca Colaneri ha scritto:
>>> Il 10/01/2015 18:57, Nathan Baltzell ha scritto:
>>>> Hi Luca and All,
>>>>
>>>> I have a few comments:
>>>>
>>>> Why would it say it is using run #0?
>>> I have no idea. Jeremy can you comment that?
>>>>
>>>> Can you print out the EcalChannel you are passing to 
>>>> getChannelConstants before this error?
>>>> (Looks like there are EcalChannel.getChannelId/Slot/Crate/X/Y methods.)
>>> This is the piece of code:
>>>
>>> EcalConditions ecalConditions = 
>>> ConditionsManager.defaultInstance().getCachedConditions(EcalConditions.class, 
>>> TableConstants.ECAL_CONDITIONS).getCachedData();
>>> EcalChannelCollection channels = ecalConditions.getChannelCollection();
>>>
>>> then i collect the cluster collection and in a for loop over the 
>>> clusters:
>>>
>>> EcalChannel channel = 
>>> channels.findGeometric(cluster.getCalorimeterHits().get(0).getCellID());
>>> EcalChannelConstants channelConstants = 
>>> ecalConditions.getChannelConstants(channel);
>>> channelConstants.getGain().getGain()
>>>
>>>
>>>>
>>>> Do you need to divide by the gain to get the ADC?  I thought that 
>>>> raw energy was directly available?
>>>> Alternatively, you could just multiply your new scale factors by 
>>>> the cosmic gains in the end.
>>> Raw energy is available, but then I would have to rerun the 
>>> clustering and i think it's easier to just divide out the cosmic gains.
>>>
>>>
>>>
>>> Luca
>>>> -Nathan
>>>>
>>>>
>>>>
>>>> On Jan 10, 2015, at 12:17 PM, Luca Colaneri 
>>>> <[log in to unmask] <mailto:[log in to unmask]>> 
>>>> wrote:
>>>>
>>>>> Hello all,
>>>>> In order to make my calibration "cosmics" independent I was trying 
>>>>> to get out from the data the gain values to divide out from the 
>>>>> corrected energies and get the raw data.
>>>>> After around 31M events I got the error you can read in the 
>>>>> attached screenshot.
>>>>>
>>>>> Suggestions?
>>>>>
>>>>> L.
>>>>>
>>>>> -- 
>>>>> PhD Student,
>>>>> Università degli Studi di Roma Tor Vergata
>>>>> INFN sez. Roma2
>>>>> Via della Ricerca Scientifica 1, 00133 Rome, Italy
>>>>> +39 0672594562
>>>>>
>>>>>
>>>>> ######################################################################## 
>>>>>
>>>>> 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
>>>>> <channelnotfound.png>
>>>> ########################################################################
>>>> 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
>


-- 
Luca Colaneri
Dipartimento di Fisica
Universita' degli Studi di Roma Tor Vergata
Via della Ricerca Scientifica s.n.c. 00133 Roma
+39 06 72594560


########################################################################
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