22 #ifndef POLARIZATION_H_INCLUDED 23 #define POLARIZATION_H_INCLUDED 50 const std::vector<csl::Index>& indices);
58 bool getCommutable()
const override;
60 std::optional<csl::Expr> getComplexConjugate()
const override;
62 bool hasContractionProperty(csl::Expr_info other)
const override;
64 csl::Expr contraction(csl::Expr_info other)
const override;
66 csl::unique_Expr copy_unique()
const override;
70 std::ostream &out = std::cout
73 void printProp(std::ostream& out = std::cout)
const override;
88 bool isConjugationLocked()
const {
89 return lockConjugation;
92 void setConjugationLock(
bool t_lock) {
93 lockConjugation = t_lock;
105 bool keepFermionOrder =
false 108 bool hasFieldChargeConjugation(
112 bool spaceIndexContraction(csl::Expr_info other)
const;
113 bool spinIndexContraction(csl::Expr_info other)
const;
115 bool isContractibleWith(csl::Expr_info otherPolar)
const;
117 csl::Expr sumPolarization(csl::Expr_info other)
const;
119 csl::Expr matrixChargeConjugation(csl::Expr_info other)
const override;
122 void updateComplexConjugation();
126 bool lockConjugation;
void setParticle(bool) override
Sets the particle property of the particle.
Definition: polarization.cpp:341
std::shared_ptr< AbstractParent > parent
void setIncoming(bool) override
Sets the incoming property of the particle.
Definition: polarization.cpp:347
This class inherits from std::shared_ptr<QuantumFieldParent> and should be used instead of direct Qua...
Definition: quantumField.h:1409
Namespace of MARTY.
Definition: 2HDM.h:31
Particle getParticle() const
Returns a mty::Particle, pointer to the parent of the field.
Definition: polarization.h:84
Class deriving from csl::TensorFieldElement, may enter expressions. In contrary to QuantumFieldParent...
Definition: quantumField.h:1614
Base class for parents of QuantumField objects.
Definition: quantumField.h:152
Representing polarization vectors in equations. Allows to compute polarization sums in cross-sections...
Definition: polarization.h:37
Contains QuantumField and QuantumFieldParent, basic objects handling quantum fields as csl expression...