//_________________________________________________________________
void KVVarGlobMean::FillVar(Double_t v)
{
//
// Routine privee de remplissage
//
   FillVar(v, 1.);
}
Beispiel #2
0
//_________________________________________________________________
void KVZboundAv::Fill(KVNucleus* c)
{
//
// Routine de remplissage
//
   if (c->GetFrame(fFrame.Data(), kFALSE)->GetVpar() > 0 && c->GetZ() >= zmin)
      FillVar(c->GetZ());
}
//_________________________________________________________________
void KVRelativeVelocity::Fill(KVNucleus* cc)
{

//
// Filling method
//
//
// Use the FillVar(val) or the FillVar(val,w) method to increment the quantity
// of the global variable.
// The weight w is evaluated from the properties of the KVNucleus passed as an
// argument.
//
// For example, to evaluate the mean charge of all fragments,
// you may proceed as follows:
//
// FillVar(c->GetZ());
//
// Another example: to evaluate the mean parallel velocity weighted by the charge
// of the nucleus:
//
// FillVar(c->GetV().Z(),c->GetZ());
//
   if (!heaviest) {
      heaviest = new TList;
      heaviest->SetOwner(kFALSE);
      heaviest->Add(cc);
   }
   else {
      for (Int_t ii = 0; ii < heaviest->GetEntries(); ii += 1) {
         TVector3 ww = cc->BoostVector() - ((KVNucleus*)heaviest->At(ii))->BoostVector();
         FillVar(ww.Mag());
      }
      heaviest->Add(cc);
   }

}
Beispiel #4
0
//___________________________________________________________________________________________
void KVValues::FillVar(Double_t val)
{

   FillVar(val, 1.);

}
Beispiel #5
0
//_________________________________________________________________
void KVMultAv::Fill(KVNucleus * c)
{
   //The multiplicity is incremented if the projection of the particle's velocity
   //along the 'z'-direction in the currently defined frame is >0. 
   if (c->GetFrame(fFrame.Data())->GetVpar() > 0) FillVar(1.);
}
Beispiel #6
0
//_________________________________________________________________
void KVMultIMF::Fill(KVNucleus* c)
{
   //The multiplicity is incremented if the Z of nucleus *c is >=zmin
   if (c->GetZ() >= zmin)
      FillVar(1.);
}
Beispiel #7
0
//_________________________________________________________________
void KVEkin::Fill(KVNucleus * c)
{
   //Add particle's kinetic energy in frame chosen with SetFrame()
   //to the sum of kinetic energies
   FillVar(c->GetFrame(fFrame.Data())->GetKE());
}