forked from HEP-FCC/FCCAnalyses
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'HEP-FCC:master' into master
- Loading branch information
Showing
49 changed files
with
2,893 additions
and
670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p ./man/html | ||
cd ./man/man1 | ||
for MANFILE in *; do | ||
mandoc -Thtml -Ostyle=/css/mandoc.css "${MANFILE}" > "../html/${MANFILE::-1}html" | ||
done | ||
cd ../man7 | ||
for MANFILE in *; do | ||
mandoc -Thtml -Ostyle=/css/mandoc.css "${MANFILE}" > "../html/${MANFILE::-1}html" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#ifndef RECONSTRUCTEDTRACK_ANALYZERS_H | ||
#define RECONSTRUCTEDTRACK_ANALYZERS_H | ||
|
||
#include <cmath> | ||
#include <vector> | ||
|
||
#include "edm4hep/Quantity.h" | ||
#include "edm4hep/TrackData.h" | ||
#include "edm4hep/TrackState.h" | ||
#include "edm4hep/TrackerHitData.h" | ||
|
||
namespace FCCAnalyses { | ||
|
||
namespace ReconstructedTrack { | ||
|
||
/// for FullSim: | ||
ROOT::VecOps::RVec<edm4hep::TrackState> | ||
TrackStates_at_IP(const ROOT::VecOps::RVec<edm4hep::TrackData> &in, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &trackstates); | ||
|
||
/// returns the subset of tracks that are common to two collections | ||
ROOT::VecOps::RVec<edm4hep::TrackState> | ||
Intersection(const ROOT::VecOps::RVec<edm4hep::TrackState> &Col1, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &Col2); | ||
|
||
/// removes a subset of tracks from a large collection | ||
ROOT::VecOps::RVec<edm4hep::TrackState> | ||
Remove(const ROOT::VecOps::RVec<edm4hep::TrackState> &Subset, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &LargerCollection); | ||
|
||
/// Merge two collections of tracks | ||
ROOT::VecOps::RVec<edm4hep::TrackState> | ||
Merge(const ROOT::VecOps::RVec<edm4hep::TrackState> &Col1, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &Col2); | ||
|
||
/// indices of a subset of tracks, in the full tracks collection | ||
ROOT::VecOps::RVec<int> | ||
get_indices(const ROOT::VecOps::RVec<edm4hep::TrackState> &some_tracks, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &FullTracks); | ||
|
||
/// the lengths of a subset of tracks - passed as a vector of indices of these | ||
/// tracks in the full tracks collection | ||
ROOT::VecOps::RVec<float> | ||
tracks_length(const ROOT::VecOps::RVec<int> &track_indices, | ||
const ROOT::VecOps::RVec<float> &length); | ||
|
||
ROOT::VecOps::RVec<float> | ||
tracks_length(const ROOT::VecOps::RVec<edm4hep::TrackState> &some_tracks, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &FullTracks, | ||
const ROOT::VecOps::RVec<float> &length); | ||
|
||
/// the TOF times in ps (times of the hit at the calo entrance ) | ||
ROOT::VecOps::RVec<float> tracks_TOF( | ||
const ROOT::VecOps::RVec<int> &track_indices, | ||
const ROOT::VecOps::RVec<edm4hep::TrackData> &trackdata, // Eflowtrack | ||
const ROOT::VecOps::RVec<edm4hep::TrackerHitData> &trackerhits); | ||
|
||
ROOT::VecOps::RVec<float> tracks_TOF( | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &some_tracks, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &FullTracks, | ||
const ROOT::VecOps::RVec<edm4hep::TrackData> &trackdata, // Eflowtrack | ||
const ROOT::VecOps::RVec<edm4hep::TrackerHitData> &trackerhits); | ||
|
||
/// the dndx values | ||
ROOT::VecOps::RVec<float> tracks_dNdx( | ||
const ROOT::VecOps::RVec<int> &track_indices, | ||
const ROOT::VecOps::RVec<edm4hep::TrackData> &trackdata, // Eflowtrack | ||
const ROOT::VecOps::RVec<edm4hep::Quantity> &dNdx); // ETrackFlow_2 | ||
|
||
ROOT::VecOps::RVec<float> tracks_dNdx( | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &some_tracks, | ||
const ROOT::VecOps::RVec<edm4hep::TrackState> &FullTracks, | ||
const ROOT::VecOps::RVec<edm4hep::TrackData> &trackdata, // Eflowtrack | ||
const ROOT::VecOps::RVec<edm4hep::Quantity> &dNdx); // ETrackFlow_2 | ||
|
||
} // namespace ReconstructedTrack | ||
} // namespace FCCAnalyses | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef DEFINES_ANALYZERS_H | ||
#define DEFINES_ANALYZERS_H | ||
|
||
#include <cmath> | ||
#include <vector> | ||
#include <math.h> | ||
|
||
#include "TLorentzVector.h" | ||
#include "ROOT/RVec.hxx" | ||
#include "edm4hep/ReconstructedParticleData.h" | ||
#include "edm4hep/MCParticleData.h" | ||
#include "edm4hep/ParticleIDData.h" | ||
#include "ReconstructedParticle2MC.h" | ||
|
||
|
||
namespace FCCAnalyses { | ||
|
||
|
||
using Vec_b = ROOT::VecOps::RVec<bool>; | ||
using Vec_d = ROOT::VecOps::RVec<double>; | ||
using Vec_f = ROOT::VecOps::RVec<float>; | ||
using Vec_i = ROOT::VecOps::RVec<int>; | ||
using Vec_ui = ROOT::VecOps::RVec<unsigned int>; | ||
|
||
using rp = edm4hep::ReconstructedParticleData; | ||
using Vec_rp = ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>; | ||
using Vec_mc = ROOT::VecOps::RVec<edm4hep::MCParticleData>; | ||
using Vec_tlv = ROOT::VecOps::RVec<TLorentzVector>; | ||
|
||
|
||
} | ||
|
||
#endif |
Oops, something went wrong.