Skip to content
Snippets Groups Projects
Commit 3704d443 authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

RichSmartIDMCUtils: Add isCherenkovRadiation overload that deduces radiator from SmartID RICH

parent 9492c484
No related branches found
No related tags found
1 merge request!4251Add support for RICH 4D reconstruction
Pipeline #6066824 passed
......@@ -64,6 +64,12 @@ namespace Rich::Future::MC::Relations {
/// Checks if the given RichSmartID is the result of true Cherenkov
bool isCherenkovRadiation( const LHCb::RichSmartID id, const Rich::RadiatorType rad ) const;
/// Checks if the given RichSmartID is the result of true Cherenkov
inline bool isCherenkovRadiation( const LHCb::RichSmartID id ) const {
const auto rad = ( Rich::Rich1 == id.rich() ? Rich::Rich1Gas : Rich::Rich2Gas );
return isCherenkovRadiation( id, rad );
}
/// Checks if the given cluster is the result of true Cherenkov
bool isCherenkovRadiation( const Rich::PDPixelCluster& cluster, const Rich::RadiatorType rad ) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment