15 #include "NovaDAQConventions/DAQConventions.h" 20 #include "Utilities/AssociationUtil.h" 81 produces< rb::FilterList<rb::Cluster> >();
96 switch(geom->
DetId()){
111 assert(0 &&
"Unknown detector");
118 std::cout<<
"Not applying cuts to events in time with NuMI\n";
127 evt.
put(std::move(filtcol));
139 std::vector<cvntf::CVNCosmicFiltList> cosmicList = *cosmiccvn;
142 const int sliceMax = slices->size();
144 for(
int sliceIdx = 0; sliceIdx < sliceMax; ++sliceIdx){
152 const double nCells = slice.
NCell();
162 for (
unsigned int iC = 0; iC < cosmicList[0].ListSize(); ++iC){
172 if (!keep) sel =
false;
185 filtcol->Add(slices, sliceIdx);
189 evt.
put(std::move(filtcol));
A simple list of products that have been marked "filtered out".
back track the reconstruction to the simulation
unsigned int NCell(geo::View_t view) const
Number of cells in view view.
static bool IsInBeamWindow(const int run, const double time)
float cosmicVal
Cosmic CVN cosmic score for each time slice.
A collection of associated CellHits.
DEFINE_ART_MODULE(TestTMapFile)
Defines an enumeration for prong classification.
ProductID put(std::unique_ptr< PROD > &&product)
Far Detector at Ash River, MN.
Prototype Near Detector on the surface at FNAL.
T get(std::string const &key) const
novadaq::cnv::DetId DetId() const
Prefer ds::DetectorService::DetId() instead.
Near Detector in the NuMI cavern.
virtual void produce(art::Event &evt)
fhicl::ParameterSet fPSetFD
CosmicCVNVeto(fhicl::ParameterSet const &pset)
fhicl::ParameterSet fPSetNDOS
fhicl::ParameterSet fPSetND
Result for collection of time slices evaluated by CVN for cosmic rejectionN.
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
double MeanTNS(rb::AveragingScheme scheme=kDefaultScheme) const
std::string fCosmicCVNLabel
assert(nhit_max >=nhit_nbins)
bool IsNoise() const
Is the noise flag set?
fhicl::ParameterSet fPSetTB
Encapsulate the geometry of one entire detector (near, far, ndos)
void beginRun(art::Run &run)