Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Omveer_Singh
cbmroot
Commits
31c9dba8
Commit
31c9dba8
authored
2 years ago
by
Pierre-Alain Loizeau
Committed by
Pierre-Alain Loizeau
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Set nb TRD stations in QA macro for SIS300, fixes warning in weekly tests
parent
40b5747a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
macro/run/run_qa.C
+7
-1
7 additions, 1 deletion
macro/run/run_qa.C
reco/detectors/trd/qa/CbmTrdHitProducerQa.cxx
+2
-1
2 additions, 1 deletion
reco/detectors/trd/qa/CbmTrdHitProducerQa.cxx
with
9 additions
and
2 deletions
macro/run/run_qa.C
+
7
−
1
View file @
31c9dba8
...
...
@@ -181,7 +181,13 @@ void run_qa(TString dataTra = "data/sis100_muon_jpsi_test", TString dataRaw = "d
//run->AddTask(new CbmTrdHitRateQa()); //opens lots of windows
//run->AddTask(new CbmTrdDigitizerPRFQa()); //works put currently doesn't do anything
//run->AddTask(new CbmTrdHitRateFastQa()); //opens lots of windows
run
->
AddTask
(
new
CbmTrdHitProducerQa
());
CbmTrdHitProducerQa
*
trdHitProducerQa
=
new
CbmTrdHitProducerQa
();
if
(
"sis300_electron"
==
setup
)
{
/// Larger number of stations, needed to fit geometry and avoid warning
/// => fast-fix to accomodate the 4+4+2 complexity of tentative SIS300 geometry
trdHitProducerQa
->
SetNumberStations
(
10
);
}
run
->
AddTask
(
trdHitProducerQa
);
run
->
AddTask
(
new
CbmTrdCalibTracker
());
run
->
AddTask
(
new
CbmTrackerInputQaTrd
());
// Tracker requirements to TRD
}
...
...
This diff is collapsed.
Click to expand it.
reco/detectors/trd/qa/CbmTrdHitProducerQa.cxx
+
2
−
1
View file @
31c9dba8
...
...
@@ -174,7 +174,8 @@ void CbmTrdHitProducerQa::Exec(Option_t*)
const
int
planeId
=
trdHit
->
GetPlaneId
();
if
(
planeId
>=
fNoTrdStations
*
fNoTrdPerStation
)
{
cout
<<
GetName
()
<<
": Warning, TRD plane out of bounds, skipping hit."
<<
endl
;
cout
<<
GetName
()
<<
": Warning, TRD plane out of bounds, skipping hit."
<<
" ("
<<
planeId
<<
" VS "
<<
fNoTrdStations
<<
" x "
<<
fNoTrdPerStation
<<
")"
<<
endl
;
continue
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment