1 #ifndef _RdStationAssociator_RdStationAssociator_h_
2 #define _RdStationAssociator_RdStationAssociator_h_
4 #include <fwk/VModule.h>
6 #include <utl/CoordinateSystem.h>
7 #include <utl/AugerUnits.h>
75 std::vector<std::pair<double, double>>
fData;
85 double GetY(
double x,
const std::vector<double>&
p)
const {
return p[0] * std::exp(p[1] * (x -
fxO) /
utl::ns) ; }
91 for (
const auto& xy :
fData)
double fMinimumTraceLength
bool fAddNoSignalStations
double GetY(double x, const std::vector< double > &p) const
std::vector< int > fIncludedStationIds
std::vector< int > fExcludedStationIds
void AddVirtualStations(evt::Event &event, utl::CoordinateSystemPtr corsys) const
int FindClosestStationFromPoint(const utl::Point &pt, const rdet::RDetector &Det, double masDistanceFactor)
bool fCreateAllSDStationsWithRDTrace
double pow(const double x, const unsigned int i)
double fMaximumDistanceOfNoSignalStations
double operator()(const std::vector< double > &p) const
Detector description interface for RDetector-related data.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
double fTracePaddingAtFront
fwk::VModule::ResultFlag Run(evt::Event &theevent) override
Run: invoked once per event.
constexpr double nanosecond
REGISTER_MODULE("RdStationAssociator", RdStationAssociator)
std::vector< ParameterDef > & GetParameterDefs()
This class associate simulated pulse with detector station.
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
void SetData(std::vector< std::pair< double, double >> data)
ResultFlag
Flag returned by module methods to the RunController.
std::vector< std::pair< double, double > > fData
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
ExpoTail(std::vector< utl::Minou::ParameterDef > pars)
bool fAddEmptyTriggeredRDStations
bool fExtrapolateTheTailOfThePulses