Rivet Analyses Reference

L3_2004_I645127

$\mu^+\mu^-$ and $\tau^+\tau^-$ production in two photon collisions at LEP
Experiment: L3 (LEP)
Inspire ID: 645127
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Lett. B585 (2004) 53-62, 2004
Beams: e- e+, 22 22
Beam energies: (80.5, 80.5); (86.0, 86.0); (91.5, 91.5); (94.5, 94.5); (98.0, 98.0); (103.0, 103.0); (1.8, 1.8); (2.2, 2.2); (2.8, 2.8); (3.2, 3.2); (3.8, 3.8); (4.5, 4.5); (6.2, 6.2); (8.8, 8.8); (15.0, 15.0) GeV
Run details:
  • e+e- -> gamma gamma producing muons and tau leptons

Measurement of $e^+e^-\to e^+e^-\gamma\gamma\to e^+e^-\to e^+e^-\mu^+\mu^-,\ \tau^+\tau^-$. This analysis can test approximations used to simulate this process, but also is a prototype for analyses of $\gamma\gamma$ collisions. There are two modes supported, the first PROCESS=EE, simulates for full process starting with $e^+e^-$ beams, while the second PROCESS=GG is the extracted cross section for $\gamma\gamma\to \mu^+\mu^-$.

Source code: L3_2004_I645127.cc
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/GammaGammaFinalState.hh"
#include "Rivet/Projections/UnstableParticles.hh"

namespace Rivet {


  /// @brief mu+mu- and tau+tau- in gamma gamma
  class L3_2004_I645127 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(L3_2004_I645127);


    /// @name Analysis methods
    //@{

    /// Book histograms and initialise projections before the run
    void init() {

      // get the mode and options
      _mode =0;
      if( getOption("PROCESS") == "EE" ) _mode = 0;
      else if( getOption("PROCESS") == "GG") _mode = 1; 
      
      // Initialise and register projections
      if(_mode==0) {
	const GammaGammaKinematics& diskin = declare(GammaGammaKinematics(), "Kinematics");
	declare(GammaGammaFinalState(diskin), "FS");
	declare(UnstableParticles(),"UFS");
      }
      else if(_mode==1) {
	declare(FinalState(), "FS");
      }
      // Book counters
      book(_c_sigma_mu1, "/TMP/sigma_mu_1");
      book(_c_sigma_mu2, "/TMP/sigma_mu_2");
      book(_c_sigma_tau, "/TMP/sigma_tau");

    }

    void findChildren(const Particle & p,map<long,int> & nRes, int &ncount) {
      for(const Particle &child : p.children()) {
    	if(child.children().empty()) {
    	  --nRes[child.pid()];
    	  --ncount;
    	}
    	else
    	  findChildren(child,nRes,ncount);
      }
    }

    /// Perform the per-event analysis
    void analyze(const Event& event) {
      // stuff for e+e- collisions
      double W2 = sqr(sqrtS());
      if(_mode==0) {
	const GammaGammaKinematics& kin = apply<GammaGammaKinematics>(event, "Kinematics");
	W2 = kin.W2();
	if(W2<9.*sqr(GeV) ) vetoEvent;
      }
      const FinalState& fs = apply<FinalState>(event, "FS");
      map<long,int> nCount;
      int ntotal(0);
      bool fiducal = true;
      for(const Particle & p : fs.particles()) {
     	nCount[p.pid()] += 1;
     	++ntotal;
	if(abs(p.pid())==13) {
	  if(abs(cos(p.momentum().polarAngle()))>0.8) fiducal = false;
	}
      }
      if( nCount[-13]==1 && nCount[13]==1 && ntotal==2+nCount[22]) {
	if(W2<1600.*sqr(GeV)) { 
	  _c_sigma_mu1->fill();
	  if(fiducal) {
	    _c_sigma_mu2->fill();
	  }
	} 
      }
      if(_mode==1) return;
      bool foundTauPlus = false, foundTauMinus = true;
      const UnstableParticles & ufs = apply<UnstableParticles>(event, "UFS");
      for (const Particle& p : ufs.particles()) {
	if(p.children().empty()) continue;
    	// find the taus
     	if(abs(p.pid())==15) {
	  if(p.pid()== 15) foundTauMinus=true;
	  if(p.pid()==-15) foundTauPlus =true;
     	  findChildren(p,nCount,ntotal);
	}
      }
      if(!foundTauPlus || !foundTauMinus)
	vetoEvent;
      bool matched = true;
      for(auto const & val : nCount) {
	if(val.first==22) {
	  continue;
	}
	else if(val.second!=0) {
	  matched = false;
	  break;
	}
      }
      if(matched)
	_c_sigma_tau->fill();
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      // prefactor for the cross sections
      double fact  = crossSection()/picobarn/sumOfWeights();
      if(_mode==1) fact /= 1000.;
      scale(_c_sigma_mu1,fact);
      scale(_c_sigma_mu2,fact);
      scale(_c_sigma_tau,fact);
      unsigned int imin=0, imax = 3;
      if(_mode==1) {
	imin=3;
	imax=4;
      }
      for(unsigned int ihist=imin;ihist<imax;++ihist) {
	unsigned int id=0, iy=0;
	double sigma = 0., error = 0.;
	if(ihist==0) {
	  id=1;
	  iy=1;
	  sigma = _c_sigma_mu2->val();
	  error = _c_sigma_mu2->err();
	}
	else if(ihist==1) {
	  id=1;
	  iy=2;
	  sigma = _c_sigma_mu1->val();
	  error = _c_sigma_mu1->err();
	}
	else if(ihist==2) {
	  id=2;
	  iy=1;
	  sigma = _c_sigma_tau->val();
	  error = _c_sigma_tau->err();
	}
	else if(ihist==3) {
	  id=3;
	  iy=5;
	  sigma = _c_sigma_mu1->val();
	  error = _c_sigma_mu1->err();
	}
	Scatter2D temphisto(refData(id, 1, iy));
	Scatter2DPtr  mult;
	book(mult, id, 1, iy);
	for (size_t b = 0; b < temphisto.numPoints(); b++) {
	  const double x  = temphisto.point(b).x();
	  pair<double,double> ex = temphisto.point(b).xErrs();
	  pair<double,double> ex2 = ex;
	  if(ex2.first ==0.) ex2. first=0.0001;
	  if(ex2.second==0.) ex2.second=0.0001;
	  if (inRange(sqrtS()/GeV, x-ex2.first, x+ex2.second)) {
	    mult->addPoint(x, sigma, ex, make_pair(error,error));
	  }
	  else {
	    mult->addPoint(x, 0., ex, make_pair(0.,.0));
	  }
	}
      }
    }

    //@}


    /// @name Histograms
    //@{
    CounterPtr _c_sigma_mu1,_c_sigma_mu2,_c_sigma_tau;
    unsigned int _mode;
    //@}


  };


  // The hook for the plugin system
  RIVET_DECLARE_PLUGIN(L3_2004_I645127);


}