//_________________________________________________________________ void KVPtot::init_KVPtot(void) { // // Initialisation des champs de KVPtot // Cette methode privee n'est appelee par les createurs // nb++; nb_crea++; ptot.SetXYZ(0, 0, 0); SetNameIndex("Z", 0); SetNameIndex("X", 1); SetNameIndex("Y", 2); }
//_________________________________________________________________ void KVRiso::init_KVRiso(void) { // // Initialisation des champs de KVRiso // Cette methode privee n'est appelee par les createurs // nb++; nb_crea++; Riso = -1; Epar = 0.; Etrans = 0.; SetNameIndex("Riso", 0); SetNameIndex("Epar", 1); SetNameIndex("Eperp", 2); }
//________________________________________________________________ void KVFlowTensor::init_KVFlowTensor() { // PRIVATE method // Private initialisation method called by all constructors. // All member initialisations should be done here. // // You should also (if your variable calculates several different quantities) // set up a correspondance between named values and index number // using method SetNameIndex(const Char_t*,Int_t) // in order for GetValue(const Char_t*) to work correctly. // The index numbers should be the same as in your getvalue_int(Int_t) method. fType = KVVarGlob::kOneBody; // this is a 1-body variable // reference frame = "CM" // weight = NRKE [non-relativistic kinetic energy] (1/2m) SetFrame("CM"); SetOption("weight", "NRKE"); fTensor.Zero(); SetNameIndex("FlowAngle", kFlowAngle); SetNameIndex("KinFlowRatio13", kKinFlowRatio13); SetNameIndex("KinFlowRatio23", kKinFlowRatio23); SetNameIndex("PhiReacPlane", kPhiReacPlane); SetNameIndex("SqueezeAngle", kSqueezeAngle); SetNameIndex("SqueezeRatio", kSqueezeRatio); SetNameIndex("NumberParts", kNumberParts); }
//_________________________________________________________________ void KVSource::init_KVSource(void) { // Initialisation called by ctor. // Set up correspondance between variable names and index. SetNameIndex("Ex", 0); SetNameIndex("Z", 1); SetNameIndex("A", 2); SetNameIndex("Vz", 3); SetNameIndex("Vx", 4); SetNameIndex("Vy", 5); SetNameIndex("Theta", 6); SetNameIndex("Mult", 7); fMult = 0; }
//_________________________________________________________________ void KVVarGlobMean::init(void) { // Initialisation des champs de KVVarGlobMean // Cette methode privee n'est appelee par les createurs // nb++; nb_crea++; Init(); SetNameIndex("Mean", 0); SetNameIndex("RMS", 1); SetNameIndex("SumVar", 2); SetNameIndex("SumVarSquared", 3); SetNameIndex("SumOfWeights", 4); SetNameIndex("Min", 5); SetNameIndex("Max", 6); }
//_________________________________________________________________ void KVTensP::init_KVTensP(void) { nb++; // // Initialisation des champs de KVTensP // Cette methode privee n'est appelee par les createurs // nb_crea++; tenseurP = new KVTenseur3(); SetZmin(3); SetNameIndex("ThetaFlot", 0); SetNameIndex("Sphericite", 1); SetNameIndex("Coplanarite", 2); SetNameIndex("PhiPlan", 3); SetNameIndex("Vap1", 4); SetNameIndex("Vap2", 5); SetNameIndex("Vap3", 6); SetMaxNumBranches(3); }
void KVQuadMoment::init_KVQuadMoment(void) { SetNameIndex("Qzz", 0); SetNameIndex("Qxx", 1); SetNameIndex("Qyy", 2); }