-
Notifications
You must be signed in to change notification settings - Fork 21
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 #73 from AndrewEdmonds11/configurable-vds
Add ability to configure virtual detectors in TrkAna
- Loading branch information
Showing
5 changed files
with
86 additions
and
40 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,19 @@ | ||
// This fcl file gives an example of how an analyzer | ||
// can write a TrkAna tree with different VirtualDetectors | ||
// | ||
// This is useful if .... | ||
// | ||
// In this example, we will write branches for ST_Out virtual detector | ||
// | ||
|
||
// This example builds on TrkAnaReco.fcl | ||
#include "TrkAna/fcl/TrkAnaReco.fcl" | ||
|
||
// First define the suffix of the branches we want | ||
// In this example, "tgt" will mean we create branched "detgt", "demctgt", "uetgt", etc. | ||
physics.analyzers.TrkAnaNeg.candidate.segmentSuffixes : [ @sequence::physics.analyzers.TrkAnaNeg.candidate.segmentSuffixes, "tgt" ] | ||
|
||
// Then define the virtual detectors we want to be included in this branch | ||
// NB we add a sequence because we sometimes combine virtual detectors for one "interesting" plane | ||
// (e.g. TT_FrontHollow and TT_FrontPA define the entrance to the tracker) | ||
physics.analyzers.TrkAnaNeg.candidate.segmentVIDs : [ @sequence::physics.analyzers.TrkAnaNeg.candidate.segmentVIDs, ["ST_Out"] ] |
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