Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Computing
cbmroot
Commits
e8d3ee12
Commit
e8d3ee12
authored
2 years ago
by
Michael Deveaux
Committed by
Florian Uhlig
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Data transfer by TObject added to Clusterfinder and hit finder
parent
99d6505f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1371
Add time based digitization and reconstruction for MVD
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
core/detectors/mvd/CbmMvdSensor.h
+6
-0
6 additions, 0 deletions
core/detectors/mvd/CbmMvdSensor.h
macro/mvd/qa/mvd_qa1_transUrqmd.C
+1
-1
1 addition, 1 deletion
macro/mvd/qa/mvd_qa1_transUrqmd.C
reco/detectors/mvd/CbmMvdClusterfinder.cxx
+34
-0
34 additions, 0 deletions
reco/detectors/mvd/CbmMvdClusterfinder.cxx
with
41 additions
and
1 deletion
core/detectors/mvd/CbmMvdSensor.h
+
6
−
0
View file @
e8d3ee12
...
...
@@ -75,6 +75,12 @@ public:
CbmMvdSensorDataSheet
*
GetDataSheet
()
{
return
fSensorData
;
}
void
SetDataSheet
(
CbmMvdSensorDataSheet
*
sheet
)
{
fSensorData
=
sheet
;
}
void
SetMap
(
std
::
map
<
Int_t
,
Int_t
>
SensorMap
)
{
fSensorMap
=
SensorMap
;
}
// Get Sensor Map to identify every Sensor
/*
//void SendInput(CbmMvdPoint* point);
void SendInputDigi(CbmMvdDigi* digi);
void SendInputDigiToHit(CbmMvdDigi* digi);
void SendInputCluster(CbmMvdCluster* cluster);
*/
void
SetStation
(
Int_t
StationNumber
)
{
fStationNr
=
StationNumber
;
}
void
SendInputToPlugin
(
Int_t
nPlugin
,
TObject
*
input
);
...
...
This diff is collapsed.
Click to expand it.
macro/mvd/qa/mvd_qa1_transUrqmd.C
+
1
−
1
View file @
e8d3ee12
...
...
@@ -163,7 +163,7 @@ void mvd_qa1_transUrqmd(const char* setup = "sis100_electron")
// --- Uniform distribution of event plane angle
primGen
->
SetEventPlane
(
0
.,
2
.
*
TMath
::
Pi
());
// --- Get target parameters
TVector3
targetPos
(
0
.,
0
.,
0
.);
TVector3
targetPos
(
0
.,
0
.,
-
44
.);
Double_t
tDz
=
0
.;
if
(
target
)
{
targetPos
=
target
->
GetPosition
();
...
...
This diff is collapsed.
Click to expand it.
reco/detectors/mvd/CbmMvdClusterfinder.cxx
+
34
−
0
View file @
e8d3ee12
...
...
@@ -90,6 +90,22 @@ void CbmMvdClusterfinder::Exec(Option_t* /*opt*/)
LOG
(
debug
)
<<
"CbmMvdClusterfinder::Exec - nDigis= "
<<
nDigis
;
/*
=======
fTimer.Start();
fCluster->Delete();
if (fDigiMan->GetNofDigis(ECbmModuleId::kMvd)) {
if (fVerbose) cout << "//----------------------------------------//";
if (fVerbose) cout << endl << "Send Input" << endl;
Int_t nTargetPlugin=fDetector->DetectPlugin(200);
CbmMvdDigi* digi=0;
Int_t nDigis = fDigiMan->GetNofDigis(ECbmModuleId::kMvd);
>>>>>>> 04a94e4a (Data transfer by TObject added to Clusterfinder and hit finder):mvd/CbmMvdClusterfinder.cxx
*/
for
(
Int_t
i
=
0
;
i
<
nDigis
;
i
++
)
{
digi
=
new
CbmMvdDigi
(
*
(
fDigiMan
->
Get
<
CbmMvdDigi
>
(
i
)));
digi
->
SetRefId
(
i
);
...
...
@@ -114,6 +130,24 @@ void CbmMvdClusterfinder::Exec(Option_t* /*opt*/)
if
(
fVerbose
)
LOG
(
debug
)
<<
"Total of "
<<
fCluster
->
GetEntriesFast
()
<<
" Cluster in this Event"
;
if
(
fVerbose
)
LOG
(
debug
)
<<
"//----------------------------------------//"
;
LOG
(
info
)
<<
"+ "
<<
setw
(
20
)
<<
GetName
()
<<
": Created: "
<<
fCluster
->
GetEntriesFast
()
<<
" cluster in "
<<
fixed
/*
=======
}
//fDetector->SendInputDigis(fDigiMan);
if (fVerbose) cout << "Execute ClusterPlugin Nr. " << fClusterPluginNr << endl;
fDetector->Exec(fClusterPluginNr);
if (fVerbose) cout << "End Chain" << endl;
if (fVerbose) cout << "Start writing Cluster" << endl;
fCluster->AbsorbObjects(fDetector->GetOutputCluster(), 0, fDetector->GetOutputCluster()->GetEntriesFast() - 1);
if (fVerbose) cout << "Total of " << fCluster->GetEntriesFast() << " Cluster in this Event" << endl;
if (fVerbose) cout << "//----------------------------------------//" << endl;
LOG(info) << "+ " << setw(20) << GetName() << ": Created: " << fCluster->GetEntriesFast() << " cluster in " << fixed
>>>>>>> 04a94e4a (Data transfer by TObject added to Clusterfinder and hit finder):mvd/CbmMvdClusterfinder.cxx
*/
<<
setprecision
(
6
)
<<
fTimer
.
RealTime
()
<<
" s"
;
}
...
...
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