GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Closing SVN access on Wednesday 11 February 2009
Re: Closing SVN access on Wednesday 11 February 2009 [message #7898 is a reply to message #7895] Tue, 17 February 2009 15:27 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi Ola,
actually the easiest way to proceed is that you create your own PndDchRecoHit without inheriting from the PndSttRecoHit, by copying it and the WirepointHitPolicy files and adapting them to your detector. In fact in the PndSttRecoHit the calculation of the detector plane in PndSttRecoHit::detPlane(AbsRecoHit* hit, AbsTrackRep* rep) contains a check on the distance of the point of closest approach from the firing wire that you may not want to use:
// check vpf inside tube
if(distance>0.5) {
cout << "vpf outside the firing tube" << endl;
FitterException exc("distance vpf-wire > 0.5", __LINE__,__FILE__);
throw exc;
}

in order to throw away the extrapolated hits outside the tube!

In addition to this the WirepointHitPolicy is not general enough to be inserted in a directory such as recotask or better genfit, where the other reco hit policies are, because it is specific for our particular choice of plane...

So, in order to avoid any problems, in my opinion it is better to duplicate these two classes, even if they will be almost the same for STT and DCH.

Ciao,
Lia.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: renaming ...
Next Topic: Beam pipe geometry
Goto Forum:
  


Current Time: Sat Mar 02 04:39:45 CET 2024

Total time taken to generate the page: 0.01285 seconds