Skip to content

Commit cecc3e5

Browse files
additional TOF QC, using also TRD tracks
1 parent 2a0f165 commit cecc3e5

File tree

3 files changed

+85
-1
lines changed

3 files changed

+85
-1
lines changed

MC/bin/o2dpg_qc_finalization_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def add_QC_finalization(taskName, qcConfigPath, needs=None):
6060
add_QC_finalization('ITSTPCmatchQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/ITSTPCmatchedTracks_direct_MC.json')
6161
add_QC_finalization('TOFMatchQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF_direct_MC.json')
6262
add_QC_finalization('tofDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofdigits.json')
63+
add_QC_finalization('TOFMatchWithTRDQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_AllTypes_direct_MC.json')
6364

6465
return stages
6566

MC/bin/o2dpg_sim_workflow.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,11 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
922922
needs=[TOFTPCMATCHERtask['name']],
923923
readerCommand='o2-global-track-cluster-reader --track-types "ITS-TPC-TOF,TPC-TOF,TPC" --cluster-types none',
924924
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF_direct_MC.json')
925-
925+
addQCPerTF(taskName='TOFMatchWithTRDQC',
926+
needs=[TOFTPCMATCHERtask['name']],
927+
readerCommand='o2-global-track-cluster-reader --track-types "ITS-TPC-TOF,TPC-TOF,TPC,ITS-TPC-TRD,ITS-TPC-TRD-TOF,TPC-TRD,TPC-TRD-TOF" --cluster-types none',
928+
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_AllTypes_direct_MC.json')
929+
926930
#secondary vertexer
927931
svfinder_threads = ' --threads 1 '
928932
svfinder_cpu = 1
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"qc" : {
3+
"config" : {
4+
"database" : {
5+
"implementation" : "CCDB",
6+
"host" : "ccdb-test.cern.ch:8080",
7+
"username" : "not_applicable",
8+
"password" : "not_applicable",
9+
"name" : "not_applicable"
10+
},
11+
"Activity" : {
12+
"number" : "42",
13+
"type" : "2",
14+
"provenance" : "qc_mc",
15+
"passName" : "passMC",
16+
"periodName" : "SimChallenge"
17+
},
18+
"monitoring" : {
19+
"url" : "infologger:///debug?qc"
20+
},
21+
"consul" : {
22+
"url" : ""
23+
},
24+
"conditionDB" : {
25+
"url" : "ccdb-test.cern.ch:8080"
26+
},
27+
"infologger" : { "" : "Configuration of the Infologger (optional).",
28+
"filterDiscardDebug" : "false",
29+
"" : "Set to true to discard debug and trace messages (default: false)",
30+
"filterDiscardLevel" : "21",
31+
"" : "Message at this level or above are discarded (default: 21 - Trace)" }
32+
},
33+
"tasks" : {
34+
"MatchedTracksAllTypes" : {
35+
"active" : "true",
36+
"className" : "o2::quality_control_modules::tof::TOFMatchedTracks",
37+
"moduleName" : "QcTOF",
38+
"detectorName" : "TOF",
39+
"cycleDurationSeconds" : "10",
40+
"maxNumberCycles" : "-1",
41+
"dataSource" : {
42+
"type" : "direct",
43+
"query_comment" : "checking every matched track",
44+
"query" : "matchITSTPCTOF:TOF/MTC_ITSTPC/0;matchTPCTOF:TOF/MTC_TPC/0;trackTPCTOF:TOF/TOFTRACKS_TPC/0;trackITSTPC:GLO/TPCITS/0;trackITSTPCABREFS:GLO/TPCITSAB_REFS/0;trackITSTPCABCLID:GLO/TPCITSAB_CLID/0;trackTPC:TPC/TRACKS/0;trackTPCClRefs:TPC/CLUSREFS/0;tofcluster:TOF/CLUSTERS/0;trackTPCMCTR:TPC/TRACKSMCLBL;trackITSTPCMCTR:GLO/TPCITS_MC;trackITSTPCABMCTR:GLO/TPCITSAB_MC;clsTOF_TPC_MCTR:TOF/MCMTC_TPC;clsTOF_GLO_MCTR:TOF/MCMTC_ITSTPC;trackITSTPCTRD:TRD/MATCH_ITSTPC/0;trackITSTPCTRDMCTR:TRD/MCLB_ITSTPC/0;trackITSTPCTRDSAMCTR:TRD/MCLB_ITSTPC_TRD/0;trackTPCTRD:TRD/MATCH_TPC/0;trackTPCTRDMCTR:TRD/MCLB_TPC/0;trackTPCTRDSAMCTR:TRD/MCLB_TPC_TRD/0;trigITSTPCTRD:TRD/TRGREC_ITSTPC/0;trigTPCTRD:TRD/TRGREC_TPC/0;matchITSTPCTRDTOF:TOF/MTC_ITSTPCTRD/0;clsTOF_GLO3_MCTR:TOF/MCMTC_ITSTPCTRD/0;matchTPCTRDTOF:TOF/MTC_TPCTRD/0;clsTOF_GLO2_MCTR:TOF/MCMTC_TPCTRD/0"
45+
},
46+
"taskParameters" : {
47+
"GID" : "ITS-TPC,TPC,ITS-TPC-TOF,TPC-TOF,TPC-TRD,ITS-TPC-TRD,ITS-TPC-TRD-TOF,TPC-TRD-TOF",
48+
"verbose" : "false",
49+
"isMC" : "true",
50+
"minPtCut" : "0.3f",
51+
"etaCut" : "0.8f",
52+
"minNTPCClustersCut" : "60",
53+
"minDCACut" : "100.f",
54+
"minDCACutY" : "10.f",
55+
"grpFileName" : "o2sim_grp.root",
56+
"geomFileName" : "o2sim_geometry.root"
57+
},
58+
"location" : "remote",
59+
"saveObjectsToFile" : "TOFmatchedITSTPCTOF_TPCTOF_ITSTPCTRD_MC.root",
60+
"" : "For debugging, path to the file where to save. If empty or missing it won't save."
61+
}
62+
},
63+
"checks" : {
64+
"QcCheck" : {
65+
"active" : "false",
66+
"className" : "o2::quality_control_modules::skeleton::SkeletonCheck",
67+
"moduleName" : "QcSkeleton",
68+
"policy" : "OnAny",
69+
"detectorName" : "TOF",
70+
"dataSource" : [ {
71+
"type" : "Task",
72+
"name" : "QcTask",
73+
"MOs" : ["example"]
74+
} ]
75+
}
76+
}
77+
},
78+
"dataSamplingPolicies" : []
79+
}

0 commit comments

Comments
 (0)