/usr/include/ThePEG/MatrixElement/ColourLines.h is in libthepeg-dev 1.8.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | // -*- C++ -*-
//
// ColourLines.h is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef ThePEG_ColourLines_H
#define ThePEG_ColourLines_H
// This is the declaration of the ColourLines class.
#include "ThePEG/Config/ThePEG.h"
namespace ThePEG {
/**
* The ColourLines class defines the colour flow in a SubProcess. It
* defines a number of colour lines and specifies which particles are
* connected to them.
*
*/
class ColourLines: public Base {
public:
/** A single colour line */
typedef vector<pair<int,int> > Line;
/** A vector of colour lines. */
typedef vector<Line> LineVector;
/** A vector of <code>ColourLine</code>. */
typedef vector<ColinePtr> Vertex;
/** A vector of vertices. */
typedef vector<Vertex> VertexVector;
public:
/** @name Standard constructors and destructors. */
//@{
/**
* Default constructor.
*/
ColourLines() {}
/**
* The standard constructor. The string \a s should contain a
* comma-separated sequence of integers. Each sequence of numbers
* indicates a colour line and the integer represents a parton
* connected to it. If the integer is negative, it means that the
* line is the corresponding partons anti-colour. Note that the
* partons are numbered from 1: The first spacelike particle is 1, the second
* is 2 and the internal time-like and outgoing are numbered after all
* the spacelike particles.
*/
ColourLines(string s);
//@}
/**
* Reset this ColourLines object. The string \a s should contain a
* comma-separated sequence of integers. Each sequence of numbers
* indicates a colour line and the integer represents a parton
* connected to it. If the integer is negative, it means that the
* line is the corresponding partons anti-colour. Note that the
* partons are numbered from 1: The first incoming is 1, the second
* is 2 and the internal and outgoing are numbered 3 and upwards.
*/
void reset(string s);
public:
/**
* Create the corresponding <code>ColourLine</code>s and connect the
* given \a partons. The partons are assumed to be in the same order
* as the numbers specified in the constructor.
*/
void connect(const tPVector & partons) const;
private:
/**
* The vector of colour lines.
*/
LineVector theLines;
};
}
#endif /* ThePEG_ColourLines_H */
|