Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
Code Block | ||||
---|---|---|---|---|
| ||||
public void detectorChanged(Detector detector) { DatabaseConditionsManager conditionsManager = DatabaseConditionsManager.getInstance(); EcalChannelCollection channels = conditionsManager.getCachedConditions(EcalChannelCollection.class, "ecal_channels").getCachedData(); System.out.println("got " + channels.size() + " ECal channels"); } |
Typically, all conditions collections required by a Driver should be loaded in this method to avoid incurring a performance overhead by reading the conditions on every event.
...