All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
sbn::util::DataSelect Class Reference
Inheritance diagram for sbn::util::DataSelect:

Public Member Functions

 DataSelect (fhicl::ParameterSet const &p)
 
 DataSelect (DataSelect const &)=delete
 
 DataSelect (DataSelect &&)=delete
 
DataSelectoperator= (DataSelect const &)=delete
 
DataSelectoperator= (DataSelect &&)=delete
 
bool filter (art::Event &e) override
 

Private Attributes

std::string fHitLabel
 

Detailed Description

Definition at line 32 of file DataSelect_module.cc.

Constructor & Destructor Documentation

sbn::util::DataSelect::DataSelect ( fhicl::ParameterSet const &  p)
explicit

Definition at line 54 of file DataSelect_module.cc.

55  : EDFilter{p},
56  fHitLabel(p.get<std::string>("HitLabel"))
57 {}
pdgs p
Definition: selectors.fcl:22
sbn::util::DataSelect::DataSelect ( DataSelect const &  )
delete
sbn::util::DataSelect::DataSelect ( DataSelect &&  )
delete

Member Function Documentation

bool sbn::util::DataSelect::filter ( art::Event &  e)
override

Definition at line 59 of file DataSelect_module.cc.

60 {
61 
62  art::Handle<std::vector<recob::Hit>> hitHandle;
63  e.getByLabel(fHitLabel, hitHandle);
64 
65  return hitHandle.isValid();
66 }
do i e
DataSelect& sbn::util::DataSelect::operator= ( DataSelect const &  )
delete
DataSelect& sbn::util::DataSelect::operator= ( DataSelect &&  )
delete

Member Data Documentation

std::string sbn::util::DataSelect::fHitLabel
private

Definition at line 50 of file DataSelect_module.cc.


The documentation for this class was generated from the following file: