Skip to content

Commit 81fb988

Browse files
author
Maurice Coquet
committed
removing prefix
1 parent 62f8d59 commit 81fb988

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Common/TableProducer/fwdtrackextension.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ using MuonsWithCov = soa::Join<aod::FwdTracks, aod::FwdTracksCov>;
4747

4848
struct FwdTrackExtension {
4949
Produces<aod::FwdTracksDCA> fwdDCA;
50-
Configurable<std::string> fGeoPath{"fGeoPath", "GLO/Config/GeometryAligned", "Path of the geometry file"};
51-
Configurable<std::string> fGrpmagPath{"fGrpmagPath", "GLO/Config/GRPMagField", "CCDB path of the GRPMagField object"};
52-
Configurable<std::string> fConfigCcdbUrl{"fConfigCcdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
53-
Configurable<bool> fRefitGlobalMuon{"fRefitGlobalMuon", true, "Recompute parameters of global muons"};
50+
Configurable<std::string> geoPath{"geoPath", "GLO/Config/GeometryAligned", "Path of the geometry file"};
51+
Configurable<std::string> grpmagPath{"grpmagPath", "GLO/Config/GRPMagField", "CCDB path of the GRPMagField object"};
52+
Configurable<std::string> configCcdbUrl{"configCcdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
53+
Configurable<bool> refitGlobalMuon{"refitGlobalMuon", true, "Recompute parameters of global muons"};
5454

5555
Service<o2::ccdb::BasicCCDBManager> fCCDB;
5656
o2::parameters::GRPMagField* grpmag = nullptr; // for run 3, we access GRPMagField from GLO/Config/GRPMagField
@@ -59,21 +59,21 @@ struct FwdTrackExtension {
5959
void init(o2::framework::InitContext&)
6060
{
6161
// Load geometry
62-
fCCDB->setURL(fConfigCcdbUrl);
62+
fCCDB->setURL(configCcdbUrl);
6363
fCCDB->setCaching(true);
6464
fCCDB->setLocalObjectValidityChecking();
6565

6666
if (!o2::base::GeometryManager::isGeometryLoaded()) {
6767
LOGF(info, "Load geometry from CCDB");
68-
fCCDB->get<TGeoManager>(fGeoPath);
68+
fCCDB->get<TGeoManager>(geoPath);
6969
}
7070
}
7171

7272
void process(aod::Collisions::iterator const& collision, o2::aod::BCsWithTimestamps const& /*...*/, MuonsWithCov const& tracks, aod::MFTTracks const& /*...*/)
7373
{
7474
auto bc = collision.template bc_as<o2::aod::BCsWithTimestamps>();
7575
if (fCurrentRun != bc.runNumber()) {
76-
grpmag = fCCDB->getForTimeStamp<o2::parameters::GRPMagField>(fGrpmagPath, bc.timestamp());
76+
grpmag = fCCDB->getForTimeStamp<o2::parameters::GRPMagField>(grpmagPath, bc.timestamp());
7777
if (grpmag != nullptr) {
7878
LOGF(info, "Init field from GRP");
7979
o2::base::Propagator::initFieldFromGRP(grpmag);
@@ -86,7 +86,7 @@ struct FwdTrackExtension {
8686
for (const auto& track : tracks) {
8787
const auto trackType = track.trackType();
8888
o2::dataformats::GlobalFwdTrack fwdtrack = o2::aod::fwdtrackutils::getTrackParCovFwd(track, track);
89-
if (fRefitGlobalMuon && (trackType == o2::aod::fwdtrack::ForwardTrackTypeEnum::GlobalMuonTrack || trackType == o2::aod::fwdtrack::ForwardTrackTypeEnum::GlobalForwardTrack)) {
89+
if (refitGlobalMuon && (trackType == o2::aod::fwdtrack::ForwardTrackTypeEnum::GlobalMuonTrack || trackType == o2::aod::fwdtrack::ForwardTrackTypeEnum::GlobalForwardTrack)) {
9090
auto muontrack = track.template matchMCHTrack_as<MuonsWithCov>();
9191
auto mfttrack = track.template matchMFTTrack_as<aod::MFTTracks>();
9292
o2::dataformats::GlobalFwdTrack propmuon = o2::aod::fwdtrackutils::propagateMuon(muontrack, muontrack, collision, o2::aod::fwdtrackutils::propagationPoint::kToVertex, 0.f, zField);

0 commit comments

Comments
 (0)