71 return QColor::fromRgbF(1.0, 1.0, 1.0);
136 bool barrelChanged = (barrelPosChanged || barrelNegChanged);
137 bool endcapChanged = (endcapPosChanged || endcapNegChanged);
145 if (barrelChanged&&(handle->
isPositiveZ()?barrelPosChanged:barrelNegChanged))
148 if (endcapChanged&&(handle->
isPositiveZ()?endcapPosChanged:endcapNegChanged))
158 double newminToT = (
nbins-0.5)*3.125;
161 bool cut_relaxed = (newminToT<
m_d->
minToT);
173 double newmaxToT = (
nbins+0.5)*3.125;
176 bool cut_relaxed = (newmaxToT>
m_d->
maxToT);
191 bool cut_relaxed = (newminLE<
m_d->
minLE);
206 bool cut_relaxed = (newmaxLE>
m_d->
maxLE);
232 connect(controller,SIGNAL(projectTRTHitsChanged(
bool)),
this,SLOT(
setProject(
bool)));
238 connect(controller,SIGNAL(inDetPartsFlagsChanged(PRDCommonFlags::InDetPartsFlags)),
this,SLOT(
setPartsFlags(PRDCommonFlags::InDetPartsFlags)));
241 connect(controller,SIGNAL(trtMinToTChanged(
unsigned)),
this,SLOT(
setMinToT(
unsigned)));
244 connect(controller,SIGNAL(trtMaxToTChanged(
unsigned)),
this,SLOT(
setMaxToT(
unsigned)));
247 connect(controller,SIGNAL(trtMinLEChanged(
unsigned)),
this,SLOT(
setMinLE(
unsigned)));
250 connect(controller,SIGNAL(trtMaxLEChanged(
unsigned)),
this,SLOT(
setMaxLE(
unsigned)));
271 (*it)->updateMaterial();
293 bool updatebarrel = updateposbarrel || updatenegbarrel;
294 bool updateendcap = updateposendcap || updatenegendcap;
296 messageVerbose(
"setAppropriateProjection updating (brlA,brlC,ecA,ecC) = ("+
str(updateposbarrel)+
","+
str(updatenegbarrel)
297 +
","+
str(updateposendcap)+
","+
str(updatenegendcap)+
")");
299 if (!updatebarrel&&!updateendcap) {
300 message(
"setAppropriateProjection WARNING: Unexpected flag value.");