|
| EventTimeFilter (fhicl::ParameterSet const &) |
|
bool | filter (art::Event &evt) |
|
| EDFilter (fhicl::ParameterSet const &pset) |
|
template<typename Config > |
| EDFilter (Table< Config > const &config) |
|
std::string | workerType () const |
|
virtual | ~Filter () noexcept |
|
| Filter (fhicl::ParameterSet const &) |
|
| Filter (Filter const &)=delete |
|
| Filter (Filter &&)=delete |
|
Filter & | operator= (Filter const &)=delete |
|
Filter & | operator= (Filter &&)=delete |
|
void | doBeginJob (SharedResources const &resources) |
|
void | doEndJob () |
|
void | doRespondToOpenInputFile (FileBlock const &fb) |
|
void | doRespondToCloseInputFile (FileBlock const &fb) |
|
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
|
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
|
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &) |
|
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
|
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
|
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
|
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
|
| ~Modifier () noexcept |
|
| Modifier () |
|
| Modifier (Modifier const &)=delete |
|
| Modifier (Modifier &&)=delete |
|
Modifier & | operator= (Modifier const &)=delete |
|
Modifier & | operator= (Modifier &&)=delete |
|
virtual | ~ModuleBase () noexcept |
|
| ModuleBase () |
|
ModuleDescription const & | moduleDescription () const |
|
void | setModuleDescription (ModuleDescription const &) |
|
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
|
void | sortConsumables (std::string const ¤t_process_name) |
|
template<typename T , BranchType BT> |
ViewToken< T > | consumesView (InputTag const &tag) |
|
template<typename T , BranchType BT> |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
|
Definition at line 32 of file EventTimeFilter_module.cc.
Implements art::EDFilter.
Definition at line 60 of file EventTimeFilter_module.cc.
64 std::cout <<
"Warning: please provide date in format YYYYMMDD, event time " 65 <<
"filter returning false." <<
std::endl;
69 std::cout <<
"Warning: please provide date in format YYYYMMDD, event time " 70 <<
"filter returning false." <<
std::endl;
74 std::cout <<
"Warning: please provide date in format YYYYMMDD, event time " 75 <<
"filter returning false." <<
std::endl;
81 std::cout <<
"Warning: please provide time in format HHMMSS, event time " 82 <<
"filter returning false." <<
std::endl;
86 std::cout <<
"Warning: please provide time in format HHMMSS, event time " 87 <<
"filter returning false." <<
std::endl;
91 std::cout <<
"Warning: please provide time in format HHMMSS, event time " 92 <<
"filter returning false." <<
std::endl;
99 if (evtTime.
timeHigh() == 0) { evtTTS =
new TTimeStamp(evtTime.
timeLow()); }
100 else { evtTTS =
new TTimeStamp(evtTime.
timeHigh(), evtTime.
timeLow()); }
105 TTimeStamp * ttsLow(
nullptr);
112 std::cout <<
"Warning: No start time given for event time filter, " 118 TTimeStamp * ttsHigh(
nullptr);
124 std::cout <<
"Warning: No end time given for event time filter, assuming " 131 if (ttsLow ==
nullptr && ttsHigh ==
nullptr) {
132 std::cout <<
"Warning: No date range requested for event time filter, " 136 else if (ttsLow ==
nullptr) {
137 std::cout <<
"Warning: No lower limit requested for event time filter, " 138 <<
"taking all events before " << ttsHigh ->
AsString()
140 if (evtTTS -> GetSec() < ttsHigh -> GetSec()) {
return true; }
141 else {
return false;}
143 else if (ttsHigh ==
nullptr) {
144 std::cout <<
"Warning: No lower limit requested for event time filter, " 145 <<
"taking all events after " << ttsLow ->
AsString()
147 if (evtTTS -> GetSec() > ttsLow -> GetSec()) {
return true; }
148 else {
return false;}
151 if (evtTTS -> GetSec() > ttsLow -> GetSec() &&
152 evtTTS -> GetSec() < ttsHigh -> GetSec()) {
return true; }
153 else {
return false; }
constexpr std::uint32_t timeLow() const
constexpr std::uint32_t timeHigh() const
const char * AsString(Resonance_t res)
resonance id -> string
QTextStream & endl(QTextStream &s)
UInt_t filter::EventTimeFilter::fDateRangeHigh |
|
private |
UInt_t filter::EventTimeFilter::fDateRangeLow |
|
private |
UInt_t filter::EventTimeFilter::fTimeRangeHigh |
|
private |
UInt_t filter::EventTimeFilter::fTimeRangeLow |
|
private |
The documentation for this class was generated from the following file: