-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1210 from NamithaChitrazee/pbar2m
Agnostic helix finder and correction of the charged pion lifetime
- Loading branch information
Showing
33 changed files
with
3,816 additions
and
585 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,36 @@ | ||
#ifndef CalPatRec_AgnosticHelixFinder_types_hh | ||
#define CalPatRec_AgnosticHelixFinder_types_hh | ||
|
||
#include "fhiclcpp/types/Atom.h" | ||
|
||
namespace mu2e { | ||
|
||
namespace AgnosticHelixFinderTypes { | ||
|
||
struct Config { | ||
fhicl::Atom<std::string> tool_type{fhicl::Name("tool_type"), fhicl::Comment("tool type: AgnosticHelixFinderDiag")}; | ||
}; | ||
|
||
struct tcInfo { | ||
int nHelices; | ||
int nComboHits; | ||
int nStrawHits; | ||
float time; | ||
}; | ||
|
||
struct lineSegmentInfo { | ||
float chi2dof; | ||
float maxHitGap; | ||
}; | ||
|
||
struct diagInfo { | ||
float moduleTime; | ||
int nHelices; | ||
int nTimeClusters; | ||
std::vector<tcInfo> timeClusterData; | ||
std::vector<lineSegmentInfo> lineSegmentData; | ||
}; | ||
|
||
} // namespace AgnosticHelixFinderTypes | ||
} // namespace mu2e | ||
#endif |
4 changes: 2 additions & 2 deletions
4
CalPatRec/inc/DeltaFinder_enums.hh → CalPatRec/inc/CalPatRec_enums.hh
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,19 @@ | ||
#ifndef __CalPatRec_inc_ChannelID_hh__ | ||
#define __CalPatRec_inc_ChannelID_hh__ | ||
|
||
namespace CalPatRec { | ||
struct ChannelID { | ||
int Station; | ||
int Plane; | ||
int Face; | ||
int Panel; | ||
|
||
static void orderID (ChannelID* X, ChannelID* Ordered); | ||
static void deOrderID(ChannelID* X, ChannelID* Ordered); | ||
|
||
static void testOrderID (); | ||
static void testdeOrderID(); | ||
}; | ||
} | ||
|
||
#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
Oops, something went wrong.