forked from iLCSoft/MarlinTrkProcessors
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving the hit-time and cluster filter processors with proper input and output collections #19
Open
angirar
wants to merge
16
commits into
MuonColliderSoft:master
Choose a base branch
from
spg-berkeleylab:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
57aabb0
Updating CMakeLists to work with TrkHitStudiesWorkspace package
8a159d7
Merge branch 'master' of github.com:MuonColliderSoft/MarlinTrkProcessors
7f098af
Improving the cluster filters application
307dcce
Adding pixel hits per cluster
5bdae5e
Storing reco-sim hit relations of filtered clusters, adding debugging…
5a171c8
Adding pixel hits to the clusters from FilterTimeHits processor
a0aa5bd
Fix status of output collection and adding new cluster to output coll…
154a370
Minor cleanup
308a169
Adding before and after debugging histograms for hit timing
5b20a70
Fixing the brackets for error message
02b499d
restructured TimeHits filter to not rely on 1-1 reco-sim hits and als…
6994281
added registerParameter marlin functions
b4352a1
fix cases where size of filter arrays is different from number of laters
1218a64
Changing the output collection type from TrackerHit to TrackerHitPlane
9aa7e10
Fixing the bug to store hits after cluster filter application, also r…
ed041c7
Merge pull request #1 from spg-berkeleylab/arastogi_newFilterCluster
angirar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# cmake file for building MarlinTrkProcessors | ||
# - based on $MARLIN/example/mymarlin/CMakeLists.txt | ||
# by @author Jan Engels, Desy IT | ||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR) | ||
CMAKE_MINIMUM_REQUIRED(VERSION 3.15 FATAL_ERROR) | ||
######################################################## | ||
|
||
|
||
|
@@ -20,23 +20,6 @@ cmake_policy(SET CMP0008 NEW) | |
|
||
FIND_PACKAGE( ILCUTIL REQUIRED COMPONENTS ILCSOFT_CMAKE_MODULES ) | ||
|
||
# load default settings from ILCSOFT_CMAKE_MODULES | ||
INCLUDE( ilcsoft_default_settings ) | ||
|
||
SET( COMPILER_FLAGS "-Wno-effc++" ) | ||
MESSAGE( STATUS "FLAGS ${COMPILER_FLAGS}" ) | ||
FOREACH( FLAG ${COMPILER_FLAGS} ) | ||
CHECK_CXX_COMPILER_FLAG( "${FLAG}" CXX_FLAG_WORKS_${FLAG} ) | ||
IF( ${CXX_FLAG_WORKS_${FLAG}} ) | ||
MESSAGE ( STATUS "Adding ${FLAG} to CXX_FLAGS" ) | ||
### We append the flag, so they overwrite things from somewhere else | ||
SET ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAG} ") | ||
ELSE() | ||
MESSAGE ( STATUS "NOT Adding ${FLAG} to CXX_FLAGS" ) | ||
ENDIF() | ||
ENDFOREACH() | ||
|
||
|
||
FIND_PACKAGE( Marlin 1.0 REQUIRED ) # minimum required Marlin version | ||
INCLUDE_DIRECTORIES( SYSTEM ${Marlin_INCLUDE_DIRS} ) | ||
LINK_LIBRARIES( ${Marlin_LIBRARIES} ) | ||
|
@@ -128,16 +111,5 @@ INCLUDE_DIRECTORIES( . ./source/Digitisers/include ./source/Refitting/include ./ | |
# add library | ||
FILE( GLOB_RECURSE library_sources "source/*.cc" ) | ||
|
||
# needed for adding header files to xcode project | ||
IF(CMAKE_GENERATOR MATCHES "Xcode") | ||
FILE( GLOB_RECURSE library_headers "*.h" ) | ||
ADD_SHARED_LIBRARY( ${PROJECT_NAME} ${library_sources} ${library_headers}) | ||
ELSE() | ||
ADD_SHARED_LIBRARY( ${PROJECT_NAME} ${library_sources} ) | ||
ENDIF() | ||
|
||
INSTALL_SHARED_LIBRARY( ${PROJECT_NAME} DESTINATION lib ) | ||
|
||
# display some variables and write them to cache | ||
DISPLAY_STD_VARIABLES() | ||
ADD_LIBRARY( ${PROJECT_NAME} SHARED ${library_sources} ) | ||
Comment on lines
-131
to
+114
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No strong opinion on removing this. It's still present in iLCSoft/MarlinTrkProcessors. However what definitely has to stay is the installation of the library that we build, as otherwise we will not be able to use the processors when we use this into a software stack. |
||
|
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep these. With #20 the warnings should be fixed so that output should be manageable again.