Hi, Gabriel. I just added a test case to the conditions module which shows how to get the gain and noise given a RawCalorimeterHit: trunk/conditions/src/test/java/org/hps/conditions/ecal/PhysicalToGainTest.java You can 'svn up' trunk/conditions and then run the test using the command 'mvn test -Dtest=PhysicalToGainTest' from that directory. Let me know if that is enough for you to figure out how to replace the old conditions system calls. --Jeremy -----Original Message----- From: Gabriel CHARLES [mailto:[log in to unmask]] Sent: Tuesday, April 08, 2014 11:42 AM To: McCormick, Jeremy I. Cc: Mccaky Subject: Conditions Hi Jeremy, With Kyle, we've been trying to understand how to call the new database and we were wondering if you could provide an example. The line below for example is calling the gain and the noise per channel, how would you replace it ?This line is from FADCEcalReadoutDriver. noise = Math.sqrt(Math.pow(EcalConditions.physicalToNoise(hit.getCellID()) * EcalConditions.physicalToGain(hit.getCellID()) * ECalUtils.MeV, 2) + hit.getRawEnergy() * ECalUtils.MeV / pePerMeV); -- Gabriel CHARLES Institut de Physique Nucléaire d'Orsay ######################################################################## 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