Use consistent namespaces and include directories
Right now we are using a mixture of
- header files in
eicd/
- namespace
eic::
for data structures in CamelCase - namespace
eicd::helpers::
for helper functions in lowercase
This causes confusion when
#include "eicd/ReconstructedParticleCollection.h"
provides eic::ReconstructedParticleCollection
, but
#include "eicd/helpers.h"
provides eicd::helpers::momenta_from_tracking
.
Proposal:
- keep namespaces as
eic::
, - change install paths to
eic/
, - remove
eic::helpers::
as an intermediate namespace in favor of e.g.eic::KinematicsHelpers::
, - provide headers for helpers in the same structure are the intermediate namespaces, e.g.
#include "eic/KinematicsHelpers.h"