<commit_before>/* $Id$ */

// This class introduces the weight's calculation
// according to the Lednicky's algorithm.
// The detailed description of the algorithm can be found
// in comments to fortran code:
// fsiw.f, fsiini.f

#ifndef ALIHBTCrab_H
#define ALIHBTCrab_H

#include "AliHBTWeights.h"

class Complex;
typedef Complex double_complex;

class AliHBTPair;

class AliHBTCrab: public AliHBTWeights
 {
   public:

     virtual ~AliHBTCrab(){fgCrab =0x0;}
     static AliHBTCrab* Instance();
     void Set();

     Double_t GetWeight(const AliHBTPair* partpair);
     void Init(Int_t pid1,Int_t pid2); //put the initial values in fortran commons fsiini, led_bldata
     
   private:
     AliHBTCrab();
     AliHBTCrab(const AliHBTCrab &/*source*/);
     AliHBTCrab & operator=(const AliHBTCrab& /*source*/);

     void GetComQuantities(const AliHBTPair* pair, double *qred,double *r,double *qdotr,double *mom, int *test);
     double  CorrCalc(double trueqred,double trueqdotr,double truer);
     
     Bool_t fBreitWigner;//switch if to calculated BW
     Bool_t fReducedMom;//switch if
     Float_t fMaxMomentum;//switch if
     
     Bool_t  SetConfig(const AliHBTPair* pair);
     
     Int_t fPid1;//PID of the first particle
     Int_t fPid2;//PID of the second particle<commit_msg>Putting back Peters change for Alpha<commit_after>/* $Id$ */

// This class introduces the weight's calculation
// according to the Lednicky's algorithm.
// The detailed description of the algorithm can be found
// in comments to fortran code:
// fsiw.f, fsiini.f

#ifndef ALIHBTCrab_H
#define ALIHBTCrab_H

#include "AliHBTWeights.h"

#ifdef __DECCXX
 #include <complex.h>
#else
 class Complex;
 typedef Complex double_complex;
#endif
 
#include <math.h>
 
class AliHBTPair;

class AliHBTCrab: public AliHBTWeights
 {
   public:

     virtual ~AliHBTCrab(){fgCrab =0x0;}
     static AliHBTCrab* Instance();
     void Set();

     Double_t GetWeight(const AliHBTPair* partpair);
     void Init(Int_t pid1,Int_t pid2); //put the initial values in fortran commons fsiini, led_bldata
     
   private:
     AliHBTCrab();
     AliHBTCrab(const AliHBTCrab &/*source*/);
     AliHBTCrab & operator=(const AliHBTCrab& /*source*/);

     void GetComQuantities(const AliHBTPair* pair, double *qred,double *r,double *qdotr,double *mom, int *test);
     double  CorrCalc(double trueqred,double trueqdotr,double truer);
     
     Bool_t fBreitWigner;//switch if to calculated BW
     Bool_t fReducedMom;//switch if
     Float_t fMaxMomentum;//switch if
     
     Bool_t  SetConfig(const AliHBTPair* pair);
     
     Int_t fPid1;//PID of the first particle
     Int_t fPid2;//PID of the second particle
{'fraction_non_alphanumeric': 0.09564570152586528, 'fraction_numerical': 0.00446594715295869, 'mean_word_length': 3.525252525252525, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1257885', 'n_tokens_mistral': 979, 'n_tokens_neox': 916, 'n_words': 262}