Skip to content

Commit

Permalink
Changes to use podio::ROOTDataSource
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed May 6, 2024
1 parent 7708cbb commit a46fc37
Show file tree
Hide file tree
Showing 19 changed files with 925 additions and 584 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ install(DIRECTORY examples DESTINATION ${CMAKE_INSTALL_PREFIX}/share/examples)

#--- Descend into subdirectories ----------------------------------------------

if(WITH_SOURCE)
add_subdirectory(e4hsource)
endif()

set(ADDONS_LIBRARIES CACHE STRING "List of external libraries the RDF utilities will be linked against")
add_subdirectory(addons)
add_subdirectory(analyzers/dataframe)
Expand Down
6 changes: 4 additions & 2 deletions analyzers/dataframe/src/SmearObjects.cc
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ ROOT::VecOps::RVec<edm4hep::TrackState> SmearedTracks::operator()(

smeared_track.covMatrix = covMatrix_edm4hep;

if (m_debug) {
// if (m_debug) {
if (false) {
std::cout << std::endl
<< "Original track " << track.D0 << " " << track.phi << " "
<< track.omega << " " << track.Z0 << " " << track.tanLambda
Expand Down Expand Up @@ -292,7 +293,8 @@ TVectorD CovSmear(TVectorD x, TMatrixDSym C, TRandom *ran, bool debug = false) {
TVectorD r(Nvec);
for (Int_t i = 0; i < Nvec; i++)
r(i) = ran->Gaus(0.0, 1.0); // Array of normal random numbers
if (debug)
// if (debug)
if (false)
std::cout << " random nb " << ran->Gaus(0.0, 1.0) << std::endl;
TVectorD xOut = x + DCv * (Ut * r); // Observed parameter vector
//
Expand Down
25 changes: 0 additions & 25 deletions e4hsource/CMakeLists.txt

This file was deleted.

105 changes: 0 additions & 105 deletions e4hsource/include/EDM4hepDataSource/EDM4hepDataSource.hxx

This file was deleted.

16 changes: 0 additions & 16 deletions e4hsource/include/EDM4hepDataSource/LinkDef.h

This file was deleted.

Loading

0 comments on commit a46fc37

Please sign in to comment.