Skip to content

Commit b465869

Browse files
committed
Merged changes from previous branch
2 parents 9ccc1b2 + 5115a6e commit b465869

File tree

6 files changed

+23
-4
lines changed

6 files changed

+23
-4
lines changed

Detectors/ITSMFT/ITS/postprocessing/studies/src/AvgClusSize.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ void AvgClusSizeStudy::prepareOutput()
266266

267267
void AvgClusSizeStudy::setStyle()
268268
{
269-
gStyle->SetPalette(kRainbow);
269+
gStyle->SetPalette(kRainBow);
270270
std::vector<int> colors = {1, 2, 3, 4, 6, 7, 41, 47};
271271
std::vector<int> markers = {2, 3, 4, 5, 25, 26, 27, 28, 32};
272272
for (int i = 0; i < mAvgClusSizeCEtaVec.size(); i++) {

Detectors/ITSMFT/test/HitAnalysis/src/HitAnalysis.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "HitAnalysis/HitAnalysis.h"
2121

2222
#include <fairlogger/Logger.h> // for LOG
23+
#include <FairRootManager.h>
2324

2425
#include <TH1.h> // for TH1, TH1D, TH1F
2526
#include <TFile.h>

Steer/include/Steer/O2RunSim.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class O2RunSim : public FairRunSim
6060
fRootManager->InitSink();
6161

6262
// original FairRunSim follows
63-
FairGeoLoader* loader = new FairGeoLoader(fLoaderName->Data(), "Geo Loader");
63+
FairGeoLoader* loader = new FairGeoLoader(fLoaderName.Data(), "Geo Loader");
6464
FairGeoInterface* GeoInterFace = loader->getGeoInterface();
6565
GeoInterFace->SetNoOfSets(ListOfModules->GetEntries());
6666
GeoInterFace->setMediaFile(MatFname.Data());

Utilities/rANS/benchmarks/bench_ransTPC.cxx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,15 @@ int main(int argc, char* argv[])
378378
LOG(info) << "######################################################";
379379
});
380380
writer.EndObject();
381-
writer.Flush();
381+
// Not implemented in all version of rapidjson 1.1.0 Seems like
382+
// rapidjson developers does not update version number when making
383+
// API changes - sigh.
384+
//
385+
// writer.Flush();
386+
//
387+
// We call flush on the output stream instead
388+
//
389+
stream.Flush();
382390
of.close();
383391

384392
// writerFrequencies.EndObject();
@@ -387,4 +395,4 @@ int main(int argc, char* argv[])
387395
// writerRenormed.EndObject();
388396
// writerRenormed.Flush();
389397
// ofRenormed.close();
390-
};
398+
};

run/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ o2_add_executable(mctracks-to-aod
121121
SOURCES o2sim_mctracks_to_aod.cxx
122122
PUBLIC_LINK_LIBRARIES O2::Framework O2::SimulationDataFormat)
123123

124+
o2_add_executable(mc-to-hepmc
125+
COMPONENT_NAME aod
126+
SOURCES o2aod_mc_to_hepmc.cxx
127+
PUBLIC_LINK_LIBRARIES
128+
O2::Framework
129+
O2::SimulationDataFormat
130+
O2::Generators)
131+
124132
o2_add_dpl_workflow(mctracks-to-aod-simple-task
125133
SOURCES SimExamples/McTracksToAOD/mctracks_to_aod_simple_task.cxx
126134
PUBLIC_LINK_LIBRARIES O2::Framework

run/SimExamples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* \subpage refrunSimExamplesAdaptive_Pythia8
1212
* \subpage refrunSimExamplesAliRoot_Hijing
1313
* \subpage refrunSimExamplesAliRoot_AMPT
14+
* \subpage refrunSimExamplesHepMC
1415
* \subpage refrunSimExamplesHepMC_STARlight
1516
* \subpage refrunSimExamplesJet_Embedding_Pythia8
1617
* \subpage refrunSimExamplesStepMonitoringSimple1
@@ -20,4 +21,5 @@
2021
* \subpage refrunSimExamplesSelective_Transport_pi0
2122
* \subpage refrunSimExamplesCustom_EventInfo
2223
* \subpage refrunSimExamplesMCTrackToDPL
24+
* \subpage refrunSimExamplesTParticle
2325
/doxy -->

0 commit comments

Comments
 (0)