77 const double driftLen = geom.Cryostat(0).TPC(0).DriftDistance();
78 const double driftT = driftLen / dp.DriftVelocity();
83 std::vector<std::pair<double, double>> ophitTs;
87 geom.OpDetGeoFromOpChannel(ophit.OpChannel()).GetCenter(xyz);
90 if(ophit.PeakTime() < sliceMeanT &&
91 ophit.PeakTime() > sliceMeanT-driftT &&
92 fabs(xyz[2]-sliceMeanZ) < 600){
94 ophitTotQ += ophit.PE();
95 ophitTs.emplace_back(ophit.PeakTime(), ophit.PE());
double TimeCluster(std::vector< std::pair< double, double >> &pts, double &clustPE)
Description of geometry of one entire detector.