Commit 7b1d5860 authored by Håkan Wennlöf's avatar Håkan Wennlöf
Browse files

Merge branch 'b-rootwriter-warn' into 'v3.0-stable'

[v3.0-stable]  ROOTObjectWriter: Add Warnings when Writing Copious Object Types

See merge request allpix-squared/allpix-squared!1065
parents 603b5bd5 a0748102
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -122,6 +122,11 @@ Main parameters:
- The [MCParticle](#mcparticle) that created the deposited charge
  ([`getMCParticle()`](https://allpix-squared.docs.cern.ch/reference/classes/classallpix_1_1depositedcharge/#function-getmcparticle))

{{% alert title="Warning" color="warning" %}}
It should be noted that in most cases, storage of DepositedCharge objects is not required. Since individual objects are
generated for every electron and hole in the event, storing them will lead to large output files and possible performance penalties.
{{% /alert %}}

For more details refer to the [code reference](https://allpix-squared.docs.cern.ch/reference/classes/classallpix_1_1depositedcharge/).

## PropagatedCharge
@@ -164,6 +169,11 @@ The following values for the carrier state are possible:
- `CarrierState::HALTED`:
  The motion of the charge carrier has stopped, for example because it has reached an implant or the sensor surface

{{% alert title="Warning" color="warning" %}}
It should be noted that in most cases, storage of PropagatedCharge objects is not required. Since individual objects are
generated for every electron and hole in the event, storing them will lead to large output files and possible performance penalties.
{{% /alert %}}

For more details refer to the [code reference](https://allpix-squared.docs.cern.ch/reference/classes/classallpix_1_1propagatedcharge/).

## PixelCharge
+2 −1
Original line number Diff line number Diff line
@@ -36,5 +36,6 @@ propagate_holes = true

[ROOTObjectWriter]
log_level = DEBUG
exclude = DepositedCharge, PropagatedCharge

#PASS (STATUS) [F:ROOTObjectWriter] Wrote 45400 objects to 8 branches in file
#PASS (STATUS) [F:ROOTObjectWriter] Wrote 94 objects to 6 branches in file
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ qdc_resolution = 1

[ROOTObjectWriter]
file_name = "eudet_rd53a_data"
exclude = DepositedCharge, PropagatedCharge

[LCIOWriter]
file_name = "eudet_rd53a.slcio"
+1 −0
Original line number Diff line number Diff line
@@ -42,3 +42,4 @@ name = "detector2"
mode = "gui"

[ROOTObjectWriter]
exclude = DepositedCharge, PropagatedCharge
+1 −0
Original line number Diff line number Diff line
@@ -40,3 +40,4 @@ max_depth_distance = 5um
mode = "gui"

[ROOTObjectWriter]
exclude = DepositedCharge, PropagatedCharge
Loading