13 #include "art_root_io/TFileService.h" 90 fPerEventTree = tfs->make<TTree>(
"PerEventTree",
"PerEventTree");
106 fAnalysisTree = tfs->make<TTree>(
"AnalysisTree",
"AnalysisTree");
154 fNTruths = TruthHandle->at(0).NParticles();
157 std::cout <<
"Size of truth collection : " << TruthHandle->size() << std::endl;
158 std::cout <<
"We found " <<
fNTruths <<
" truth particles and " <<
fNFlashes <<
" flashes" 161 for (
int iPart = 0; iPart !=
fNTruths; ++iPart) {
175 for (
unsigned int i = 0; i < FlashHandle->size(); ++i) {
double E(const int i=0) const
std::vector< double > const & WireCenters() const
std::string fFlashInputModule
double FastToTotal() const
Float_t fDistFlashVertexNorm
void analyze(const art::Event &)
EDAnalyzer(fhicl::ParameterSet const &pset)
Float_t fFlashFastToTotal
#define DEFINE_ART_MODULE(klass)
T get(std::string const &key) const
double T(const int i=0) const
std::vector< double > const & WireWidths() const
double Vx(const int i=0) const
Float_t fDistFlashCenterNorm
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
OpFlashMCTruthAna(const fhicl::ParameterSet &)
double Vz(const int i=0) const
EventNumber_t event() const
std::string fTruthInputModule
double Vy(const int i=0) const