PSXtcInput::DamagePolicy Class Reference
[PSXtcInput package]

Class which determines where data with particular damage needs to be stored in psana event. More...

#include <DamagePolicy.h>

Inheritance diagram for PSXtcInput::DamagePolicy:

psana::Configurable List of all members.

Public Member Functions

 DamagePolicy ()
bool eventDamagePolicy (Pds::Damage damage, enum Pds::TypeId::Type typeId)
 determines if an xtc type should be stored in the event
bool configDamagePolicy (Pds::Damage damage)
 determines if an xtc type should be stored in the config

Detailed Description

Class which determines where data with particular damage needs to be stored in psana event.

Note:
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Version:
Id
DamagePolicy.h 7696 2014-02-27 00:40:59Z salnikov@SLAC.STANFORD.EDU
Author:
Andy Salnikov

Definition at line 55 of file DamagePolicy.h.


Constructor & Destructor Documentation

PSXtcInput::DamagePolicy::DamagePolicy (  ) 

Definition at line 40 of file DamagePolicy.cpp.

References psana::Configurable::config().


Member Function Documentation

bool PSXtcInput::DamagePolicy::configDamagePolicy ( Pds::Damage  damage  ) 

determines if an xtc type should be stored in the config

Definition at line 84 of file DamagePolicy.cpp.

bool PSXtcInput::DamagePolicy::eventDamagePolicy ( Pds::Damage  damage,
enum Pds::TypeId::Type  typeId 
)

determines if an xtc type should be stored in the event

Definition at line 50 of file DamagePolicy.cpp.

References MsgLog, and psana::Configurable::name().

Referenced by PSXtcInput::XtcInputModuleBase::fillEvent().


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7