Skip to content

Commit 7a34056

Browse files
committed
Remove CCDB manager and related configurations
1 parent 2280082 commit 7a34056

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Common/TableProducer/ft0CorrectedTable.cxx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "Common/DataModel/EventSelection.h"
1414
#include "Common/DataModel/FT0Corrected.h"
1515

16-
#include <CCDB/BasicCCDBManager.h>
1716
#include <CommonConstants/PhysicsConstants.h>
1817
#include <DataFormatsFT0/Digit.h>
1918
#include <DataFormatsParameters/GRPLHCIFData.h>
@@ -41,11 +40,6 @@ using namespace o2::aod;
4140
struct ft0CorrectedTable {
4241
// Configurables
4342
Configurable<bool> addHistograms{"addHistograms", false, "Add QA histograms"};
44-
Configurable<int> cfgCollisionSystem{"collisionSystem", -2, "Collision system: -2 (use cfg values), -1 (autoset), 0 (pp), 1 (PbPb), 2 (XeXe), 3 (pPb)"};
45-
Configurable<std::string> cfgUrl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
46-
Configurable<std::string> cfgPathGrpLhcIf{"ccdb-path-grplhcif", "GLO/Config/GRPLHCIF", "Path on the CCDB for the GRPLHCIF object"};
47-
Configurable<int64_t> cfgTimestamp{"ccdb-timestamp", -1, "timestamp of the object"};
48-
Service<o2::ccdb::BasicCCDBManager> ccdb;
4943

5044
// Producer
5145
Produces<o2::aod::FT0sCorrected> table;
@@ -56,13 +50,6 @@ struct ft0CorrectedTable {
5650
HistogramRegistry histos{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject};
5751
void init(o2::framework::InitContext&)
5852
{
59-
ccdb->setURL(cfgUrl);
60-
ccdb->setTimestamp(cfgTimestamp);
61-
ccdb->setCaching(true);
62-
ccdb->setLocalObjectValidityChecking();
63-
// Not later than now objects
64-
ccdb->setCreatedNotAfter(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count());
65-
6653
if (!addHistograms) {
6754
return;
6855
}

0 commit comments

Comments
 (0)