Skip to content

Commit ecfaef1

Browse files
committed
Merge branch 'fd3_digits' of github.com:pkurash/AliceO2 into fd3_digits
2 parents 79d148f + a84905e commit ecfaef1

149 files changed

Lines changed: 4511 additions & 2041 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/EncodedBlocks.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@ class EncodedBlocks
468468
/// total allocated size in bytes
469469
size_t size() const { return mRegistry.size; }
470470

471+
/// used part of total allocated size in bytes (output size)
472+
size_t outputsize() const { return mRegistry.offsFreeStart; }
473+
471474
/// size remaining for additional data
472475
size_t getFreeSize() const { return mRegistry.getFreeSize(); }
473476

@@ -899,7 +902,7 @@ void EncodedBlocks<H, N, W>::print(const std::string& prefix, int verbosity) con
899902
ndata += mBlocks[i].getNData();
900903
nlit += mBlocks[i].getNLiterals();
901904
}
902-
LOG(info) << prefix << N << " blocks, input size: " << inpSize << ", output size: " << size()
905+
LOG(info) << prefix << N << " blocks, input size: " << inpSize << ", output size: " << outputsize()
903906
<< " NDictWords: " << ndict << " NDataWords: " << ndata << " NLiteralWords: " << nlit;
904907
}
905908
}

DataFormats/Detectors/TPC/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ o2_add_library(
4040

4141
o2_target_root_dictionary(
4242
DataFormatsTPC
43-
EXTRA_PATCH src/VectorPadflagsCustomStreamer.cxx
4443
HEADERS include/DataFormatsTPC/ClusterGroupAttribute.h
4544
include/DataFormatsTPC/ClusterNative.h
4645
include/DataFormatsTPC/ClusterNativeHelper.h

DataFormats/Detectors/TPC/src/DataFormatsTPCLinkDef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
#pragma link C++ class o2::tpc::ClusterHardwareContainerFixedSize < 8192> + ;
2323
#pragma link C++ class o2::tpc::ClusterNativeContainer + ;
2424
#pragma link C++ class o2::tpc::Digit + ;
25-
// pragma link C++ enum o2::tpc::PadFlags +; // enum itself
25+
#pragma link C++ enum o2::tpc::PadFlags + ; // enum itself
2626
#pragma link C++ class o2::tpc::ZeroSuppressedContainer8kb + ;
2727
#pragma link C++ class std::vector < o2::tpc::ClusterNative> + ;
2828
#pragma link C++ class std::vector < o2::tpc::ClusterNativeContainer> + ;
2929
#pragma link C++ class std::vector < o2::tpc::ClusterHardware> + ;
3030
#pragma link C++ class std::vector < o2::tpc::ClusterHardwareContainerFixedSize < 8192>> + ;
3131
#pragma link C++ class std::vector < o2::tpc::ClusterHardwareContainer8kb> + ;
3232
#pragma link C++ class std::vector < o2::tpc::Digit> + ;
33-
// pragma link C++ class std::vector < o2::tpc::PadFlags> + ;
33+
#pragma link C++ class std::vector < o2::tpc::PadFlags> + ;
3434
#pragma link C++ class std::vector < o2::tpc::ZeroSuppressedContainer8kb> + ;
3535
#pragma link C++ class o2::tpc::TrackTPC + ;
3636
#pragma link C++ class o2::tpc::LaserTrack + ;

DataFormats/Detectors/TPC/src/VectorPadflagsCustomStreamer.cxx

Lines changed: 0 additions & 56 deletions
This file was deleted.

DataFormats/Parameters/src/GRPTool.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ bool create_GRPs(Options const& opts)
312312
auto soreor = ccdbmgr.getRunDuration(opts.run);
313313
runStart = soreor.first;
314314
grp.setTimeStart(runStart);
315-
grp.setTimeEnd(runStart + 3600000);
315+
grp.setTimeEnd(soreor.second);
316316
grp.setNHBFPerTF(opts.orbitsPerTF);
317317
std::vector<std::string> modules{};
318318
if (!o2::conf::SimConfig::determineActiveModulesList(opts.detectorList, opts.readout, std::vector<std::string>(), modules)) {

DataFormats/simulation/src/DigitizationContext.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ DigitizationContext DigitizationContext::extractSingleTimeframe(int timeframeid,
699699
r.mSimPrefixes = mSimPrefixes;
700700
r.mMuBC = mMuBC;
701701
r.mBCFilling = mBCFilling;
702+
r.mDigitizerInteractionRate = mDigitizerInteractionRate;
702703
try {
703704
auto tf_ranges = timeframeindices.at(timeframeid);
704705

Detectors/Align/Workflow/src/BarrelAlignmentSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include "CommonUtils/TreeStreamRedirector.h"
3838
#include "TPCCalibration/VDriftHelper.h"
3939
#include "TPCCalibration/CorrectionMapsLoader.h"
40-
#include "GPUO2Interface.h"
40+
#include "GPUO2ExternalUser.h"
4141
#include "GPUO2InterfaceUtils.h"
4242
#include "GPUParam.h"
4343
#include "Headers/DataHeader.h"

Detectors/Align/include/Align/Controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#include <TTree.h>
5555
#include <TFile.h>
5656
#include "Align/Mille.h"
57-
// #include "GPUO2Interface.h"
57+
// #include "GPUO2ExternalUser.h"
5858
// #include "DataFormatsTPC/WorkflowHelper.h"
5959

6060
namespace o2

Detectors/Align/src/AlignableDetectorTPC.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "DataFormatsTPC/WorkflowHelper.h"
2525
#include <TMath.h>
2626
#include <TGeoManager.h>
27-
#include "GPUO2Interface.h"
27+
#include "GPUO2ExternalUser.h"
2828
#include "DataFormatsTPC/WorkflowHelper.h"
2929
#include "GPUParam.inc"
3030

Detectors/Align/src/Controller.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#include <TH1F.h>
4545
#include <TList.h>
4646
#include <cstdio>
47-
#include "GPUO2Interface.h"
47+
#include "GPUO2ExternalUser.h"
4848
#include "DataFormatsTPC/WorkflowHelper.h"
4949
#include <TGeoGlobalMagField.h>
5050
#include "CommonUtils/NameConf.h"

0 commit comments

Comments
 (0)