forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ticlv5] additional changes concerning timing and linking (cms-sw#24)
* ticlv5: use quality in time compatibility and move combination of HGCAL and MTD time in the TICLCandidateProducer * ticlv5: fix comments * ticlv5: consider trackerMuon for linking - new PFTICLProducer for timing and muons * ticlv5: add SoA for MTD info (NOTE: use PortableHostCollectionReadRules when available --> pre3) * ticlv5: use the MTD SoA in the TICLCandidate producer * ticlv5: add ETL time to candidates * code checks and code format * ticlv5: fix when MTD timing is not used * ticlv5: fix validation plots
- Loading branch information
1 parent
14ad18b
commit b7339f7
Showing
20 changed files
with
569 additions
and
112 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
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,12 @@ | ||
#ifndef DataFormats_HGCalReco_MtdHostCollection_h | ||
#define DataFormats_HGCalReco_MtdHostCollection_h | ||
|
||
#include "DataFormats/Portable/interface/PortableHostCollection.h" | ||
#include "DataFormats/HGCalReco/interface/MtdSoA.h" | ||
|
||
// MtdSoA in host memory | ||
using MtdHostCollection = PortableHostCollection<MtdSoA>; | ||
using MtdHostCollectionView = PortableHostCollection<MtdSoA>::View; | ||
using MtdHostCollectionConstView = PortableHostCollection<MtdSoA>::ConstView; | ||
|
||
#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,27 @@ | ||
#ifndef DataFormats_HGCalReco_MtdSoA_h | ||
#define DataFormats_HGCalReco_MtdSoA_h | ||
|
||
#include "DataFormats/SoATemplate/interface/SoALayout.h" | ||
|
||
GENERATE_SOA_LAYOUT(MtdSoALayout, | ||
SOA_COLUMN(int32_t, trackAsocMTD), | ||
SOA_COLUMN(float, time0), | ||
SOA_COLUMN(float, time0Err), | ||
SOA_COLUMN(float, time), | ||
SOA_COLUMN(float, timeErr), | ||
SOA_COLUMN(float, MVAquality), | ||
SOA_COLUMN(float, pathLength), | ||
SOA_COLUMN(float, beta), | ||
SOA_COLUMN(float, posInMTD_x), | ||
SOA_COLUMN(float, posInMTD_y), | ||
SOA_COLUMN(float, posInMTD_z), | ||
SOA_COLUMN(float, momentumWithMTD), | ||
SOA_COLUMN(float, probPi), | ||
SOA_COLUMN(float, probK), | ||
SOA_COLUMN(float, probP)) | ||
|
||
using MtdSoA = MtdSoALayout<>; | ||
using MtdSoAView = MtdSoA::View; | ||
using MtdSoAConstView = MtdSoA::ConstView; | ||
|
||
#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
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
Oops, something went wrong.