LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
DetectorClocksStandardTriggerLoader.h File Reference

Functions to load trigger time in detinfo::DetectorClocksStandard. More...

#include "lardataalg/DetectorInfo/DetectorClocksStandard.h"
#include "lardataobj/RawData/TriggerData.h"
#include "canvas/Utilities/InputTag.h"
#include "cetlib_except/exception.h"
#include <vector>

Go to the source code of this file.

Namespaces

 detinfo
 General LArSoft Utilities.
 

Functions

void detinfo::setDetectorClocksStandardTriggersFromRawTrigger (detinfo::DetectorClocksStandard &detClocks, raw::Trigger const &trigger)
 Loads DetectorClocksStandard trigger times from a raw::Trigger. More...
 
template<typename Event >
bool detinfo::setDetectorClocksStandardTriggersFromEvent (detinfo::DetectorClocksStandard &detClocks, Event const &event)
 Loads DetectorClocksStandard trigger times from a raw::Trigger. More...
 
template<typename Event >
bool detinfo::setDetectorClocksStandardTrigger (detinfo::DetectorClocksStandard &detClocks, Event const &event)
 Loads DetectorClocksStandard trigger times. More...
 

Detailed Description

Functions to load trigger time in detinfo::DetectorClocksStandard.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
March 21, 2018

This header contains framework-dependent functions to:

  • set DetectorClocksStandard trigger time from a raw::Trigger
  • set DetectorClocksStandard trigger time from a raw::Trigger in an event
  • do the former, and fall back to default values on failure

These functions are compatible with both art and gallery.

This is a pure header library. Effective dependencies include:

  • lardata_DetectorInfo
  • lardataobj_RawData
  • canvas
  • cetlib_except

Definition in file DetectorClocksStandardTriggerLoader.h.