#include <sndDSActivityCut.h>
Definition at line 10 of file sndDSActivityCut.h.
◆ DSActivityCut()
snd::analysis_cuts::DSActivityCut::DSActivityCut |
( |
TChain * |
ch | ) |
|
Definition at line 12 of file sndDSActivityCut.cxx.
13 cutName =
"If there are DS hits, all US planes must be hit";
14
16 nbins = std::vector<int>{5};
20
21 }
MuFilterBaseCut(TChain *ch)
std::vector< double > plot_var
std::vector< double > range_end
std::vector< double > range_start
◆ ~DSActivityCut()
snd::analysis_cuts::DSActivityCut::~DSActivityCut |
( |
| ) |
|
|
inline |
◆ passCut()
bool snd::analysis_cuts::DSActivityCut::passCut |
( |
| ) |
|
|
virtual |
Implements snd::analysis_cuts::baseCut.
Definition at line 23 of file sndDSActivityCut.cxx.
23 {
26
28 std::vector<bool> us = std::vector<bool>(5, false);
29
30 while ( (hit = (
MuFilterHit*) hitIterator.Next()) ){
35 }
36 }
37
38 if (not ds) {
40 return false;
41 }
42
43 plot_var[0] = std::accumulate(us.begin(), us.end(), 0);
45 return false;
46 }
static TClonesArray * muFilterDigiHitCollection
The documentation for this class was generated from the following files: