#include <ProtoDUNEEmptyEventFinder.h>
Definition at line 12 of file ProtoDUNEEmptyEventFinder.h.
protoana::ProtoDUNEEmptyEventFinder::ProtoDUNEEmptyEventFinder |
( |
const fhicl::ParameterSet & |
pset | ) |
|
Definition at line 12 of file ProtoDUNEEmptyEventFinder.cxx.
unsigned int fNHitsThreshold
std::vector< float > fMaxCoordsSim
std::string fSpacePointLabel
std::vector< float > fMinCoordsData
std::vector< float > fMaxCoordsData
T get(std::string const &key) const
std::vector< float > fMinCoordsSim
bool protoana::ProtoDUNEEmptyEventFinder::IsEmptyEvent |
( |
const art::Event & |
evt | ) |
const |
Definition at line 22 of file ProtoDUNEEmptyEventFinder.cxx.
26 std::vector<art::Ptr<recob::SpacePoint>> spacePoints;
27 if(spacePointHandle.isValid())
34 unsigned int nBeamRegionSpacePoints{0};
37 const double *xyz{sp->XYZ()};
39 if(xyz[0] < minValues.at(0) || xyz[0] > maxValues.at(0))
continue;
40 if(xyz[1] < minValues.at(1) || xyz[1] > maxValues.at(1))
continue;
41 if(xyz[2] < minValues.at(2) || xyz[2] > maxValues.at(2))
continue;
43 ++nBeamRegionSpacePoints;
unsigned int fNHitsThreshold
std::vector< float > fMaxCoordsSim
std::string fSpacePointLabel
std::vector< float > fMinCoordsData
std::vector< float > fMaxCoordsData
std::vector< float > fMinCoordsSim
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
std::vector<float> protoana::ProtoDUNEEmptyEventFinder::fMaxCoordsData |
|
private |
std::vector<float> protoana::ProtoDUNEEmptyEventFinder::fMaxCoordsSim |
|
private |
std::vector<float> protoana::ProtoDUNEEmptyEventFinder::fMinCoordsData |
|
private |
std::vector<float> protoana::ProtoDUNEEmptyEventFinder::fMinCoordsSim |
|
private |
unsigned int protoana::ProtoDUNEEmptyEventFinder::fNHitsThreshold |
|
private |
std::string protoana::ProtoDUNEEmptyEventFinder::fSpacePointLabel |
|
private |
The documentation for this class was generated from the following files: