10 #ifndef NuEEnergyAlg_h 11 #define NuEEnergyAlg_h 45 const std::vector< const rb::Shower* > showercol,
48 bool useweight =
true,
49 bool* isCalibrated = NULL
56 double CellEDataMC(
double gev,
double w,
67 double ECorrMC(
double gev);
73 double ShowerDepEnergy(
const rb::Shower* shower,
74 const std::vector< const rb::Shower* > showercol,
82 const std::vector< const rb::Shower* > showercol,
88 double HadronicDepEnergy(
const std::vector< const rb::Shower* > showercol,
90 const int & elecShowerIndex,
97 double HadronicEnergy(
const std::vector< const rb::Shower* > showercol,
99 const int & elecShowerIndex,
105 double NuEEnergy(
const std::vector< const rb::Shower* > shower,
107 const int & elecShowerIndex,
111 double VertexEnergy(
const rb::Shower * shower,
112 const std::vector< const rb::Shower* > showercol,
118 double ShowerSumEnergy(
const std::vector< const rb::Shower* > shower,
141 void GetHitShowerMap( std::vector< const rb::Shower *> showercol);
148 bool MapFilled(std::vector< const rb::Shower *> showercol);
161 const double & readoutD,
173 #endif //NuEEnergyAlg_h std::vector< const rb::Shower * > fShowerCol
A 3D position and time representing an interaction vertex.
static float NuEEnergy(float leptonicEnergy, float hadronicEnergy, cmf::BeamType_t const &beamType)
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
A collection of associated CellHits.
bool fCorDataCell
Should Data MC cell energy correction be used?
float fPEThreshold
PE threshold for considering a hit in hadronic energy calculation.
std::map< uint32_t, std::map< int, int > > fHitShowerMap
Perform a "2 point" Hough transform on a collection of hits.
bool fUseStdCellE
Should standard recoHit function, GeV(), be used to compute cell energy?
A rawdata::RawDigit with channel information decoded.
bool fUseUncalibHits
Do we want to use uncalibrated hits in the energy calculations?
A rb::Prong with a length.
art::EventID fEvtId
Event number.
bool fMapIsFilled
Is fHitShowerMap filled for the current shower collection?
Build slid::LID objects to store electron ID, if asked for, otherwise, calculate LID info and make av...
art::ServiceHandle< geo::Geometry > fGeom
Encapsulate the geometry of one entire detector (near, far, ndos)
bool fCorAbsCell
Should non-standard absolute energy calibration be used?