1515#include " CommonUtils/ConfigurableParam.h"
1616#include " CommonUtils/ConfigurableParamHelper.h"
1717
18+
1819namespace o2
1920{
2021namespace iotof
@@ -38,6 +39,39 @@ struct ChipSpecifics {
3839 float SensorSizeRows () const { return ActiveMatrixSizeRows () + PassiveEdgeTop + PassiveEdgeReadOut; }
3940};
4041
42+ struct ITOFChipSpecifics : ChipSpecifics {
43+ ITOFChipSpecifics ()
44+ {
45+ NCols = 258 ;
46+ NRows = 271 ;
47+ PitchCol = 250.00e-4 ;
48+ PitchRow = 100.00e-4 ;
49+ SensorLayerThicknessEff = 50 .e -4 ;
50+ SensorLayerThickness = 50 .e -4 ;
51+ }
52+ };
53+
54+ struct OTOFChipSpecifics : ChipSpecifics {
55+ OTOFChipSpecifics ()
56+ {
57+ NCols = 251 ;
58+ NRows = 487 ;
59+ PitchCol = 250.00e-4 ;
60+ PitchRow = 100.00e-4 ;
61+ PassiveEdgeSide = 106.48e-4 ;
62+ SensorLayerThicknessEff = 50 .e -4 ;
63+ SensorLayerThickness = 50 .e -4 ;
64+ }
65+ };
66+
67+ struct ITOFChipSpecificParam : public o2 ::conf::ConfigurableParamPromoter<ITOFChipSpecificParam, ITOFChipSpecifics> {
68+ O2ParamDef (ITOFChipSpecificParam, " ITOFChipSpecific" );
69+ };
70+
71+ struct OTOFChipSpecificParam : public o2 ::conf::ConfigurableParamPromoter<OTOFChipSpecificParam, OTOFChipSpecifics> {
72+ O2ParamDef (OTOFChipSpecificParam, " OTOFChipSpecific" );
73+ };
74+
4175struct IOTOFBaseParam : public o2 ::conf::ConfigurableParamHelper<IOTOFBaseParam> {
4276 bool enableInnerTOF = true ; // Enable Inner TOF layer
4377 bool enableOuterTOF = true ; // Enable Outer TOF layer
@@ -49,9 +83,6 @@ struct IOTOFBaseParam : public o2::conf::ConfigurableParamHelper<IOTOFBaseParam>
4983 float x2x0 = 0 .02f ; // thickness expressed in radiation length, for all layers for the moment
5084 float sensorThickness = 0 .0050f ; // thickness of the sensor in cm, for all layers for the moment, the default is set to 50 microns
5185
52- ChipSpecifics iTofChipSpecifics{258 , 271 , 250.00e-4 , 100.00e-4 , 0 .00f , 0.00e-4 , 0.00e-4 , 50 .e -4 , 50 .e -4 };
53- ChipSpecifics oTofChipSpecifics{251 , 487 , 250.00e-4 , 100.00e-4 , 0 .00f , 0.00e-4 , 106.48e-4 , 50 .e -4 , 50 .e -4 };
54-
5586 O2ParamDef (IOTOFBaseParam, " IOTOFBase" );
5687};
5788
0 commit comments