Ticket #259: clang.patch
File clang.patch, 9.6 KB (added by , 11 years ago) |
---|
-
METOOLS/Vertices/VVVV_LC.C
83 83 for (jit[0]=cca.begin();jit[0]!=cca.end();++jit[0]) { 84 84 for (jit[1]=ccb.begin();jit[1]!=ccb.end();++jit[1]) { 85 85 for (jit[2]=cce.begin();jit[2]!=cce.end();++jit[2],++i) { 86 const CVec4Type_Vector *ca(jit[m_n[0]]-> Get<CVec4Type>());87 const CVec4Type_Vector *cb(jit[m_n[1]]-> Get<CVec4Type>());88 const CVec4Type_Vector *ce(jit[m_n[2]]-> Get<CVec4Type>());86 const CVec4Type_Vector *ca(jit[m_n[0]]->template Get<CVec4Type>()); 87 const CVec4Type_Vector *cb(jit[m_n[1]]->template Get<CVec4Type>()); 88 const CVec4Type_Vector *ce(jit[m_n[2]]->template Get<CVec4Type>()); 89 89 for (typename CVec4Type_Vector::const_iterator 90 90 eit(ce->begin());eit!=ce->end();++eit) 91 91 for (typename CVec4Type_Vector::const_iterator -
METOOLS/Vertices/SSVV_LC.C
110 110 for (jit[1]=ccb.begin();jit[1]!=ccb.end();++jit[1]) { 111 111 for (jit[2]=cce.begin();jit[2]!=cce.end();++jit[2],++i) { 112 112 if (m_dir==0) { 113 const CVec4Type_Vector *ca(jit[m_n[1]]-> Get<CVec4Type>());114 const CVec4Type_Vector *cb(jit[m_n[2]]-> Get<CVec4Type>());115 const CScalarType_Vector *ce(jit[m_n[0]]-> Get<CScalarType>());113 const CVec4Type_Vector *ca(jit[m_n[1]]->template Get<CVec4Type>()); 114 const CVec4Type_Vector *cb(jit[m_n[2]]->template Get<CVec4Type>()); 115 const CScalarType_Vector *ce(jit[m_n[0]]->template Get<CScalarType>()); 116 116 for (typename CVec4Type_Vector::const_iterator 117 117 ait(ca->begin());ait!=ca->end();++ait) 118 118 for (typename CVec4Type_Vector::const_iterator … … 134 134 } 135 135 } 136 136 else { 137 const CScalarType_Vector *ca(jit[m_n[0]]-> Get<CScalarType>());138 const CScalarType_Vector *cb(jit[m_n[1]]-> Get<CScalarType>());139 const CVec4Type_Vector *ce(jit[m_n[2]]-> Get<CVec4Type>());137 const CScalarType_Vector *ca(jit[m_n[0]]->template Get<CScalarType>()); 138 const CScalarType_Vector *cb(jit[m_n[1]]->template Get<CScalarType>()); 139 const CVec4Type_Vector *ce(jit[m_n[2]]->template Get<CVec4Type>()); 140 140 for (typename CScalarType_Vector::const_iterator 141 141 ait(ca->begin());ait!=ca->end();++ait) 142 142 for (typename CScalarType_Vector::const_iterator -
METOOLS/Currents/S_C.C
102 102 <<this->m_p.Abs2()<<", m = "<<sqrt(m_cmass2)<<"\n"; 103 103 #endif 104 104 for (size_t i(0);i<m_j.size();++i) { 105 CScalarType_Vector *j(m_j[i]. Get<CScalarType>());105 CScalarType_Vector *j(m_j[i].template Get<CScalarType>()); 106 106 for (typename CScalarType_Vector::iterator 107 107 jit(j->begin());jit!=j->end();++jit) **jit*=prop; 108 108 } -
METOOLS/Currents/T_C.C
74 74 { 75 75 // add propagator for off-shell leg 76 76 for (size_t i(0);i<m_j.size();++i) { 77 CAsT4Type_Vector *j(m_j[i]. Get<CAsT4Type>());77 CAsT4Type_Vector *j(m_j[i].template Get<CAsT4Type>()); 78 78 for (typename CAsT4Type_Vector::iterator 79 79 jit(j->begin());jit!=j->end();++jit) **jit*=m_prop; 80 80 } -
METOOLS/Currents/F_C.C
133 133 msg_Debugging()<<"pp = "<<pp<<", pm = "<<pm<<", pt = "<<pt<<"\n"; 134 134 #endif 135 135 for (size_t i(0);i<m_j.size();++i) { 136 CSpinorType_Vector *j(m_j[i]. Get<CSpinorType>());136 CSpinorType_Vector *j(m_j[i].template Get<CSpinorType>()); 137 137 for (typename CSpinorType_Vector::iterator 138 138 jit(j->begin());jit!=j->end();++jit) { 139 139 CSpinorType j((*jit)->R(),(*jit)->B(),(**jit)(0),(**jit)(1), -
METOOLS/Currents/V_C.C
214 214 msg_Debugging()<<"propagator: "<<prop<<"\n"; 215 215 #endif 216 216 for (size_t i(0);i<m_j.size();++i) { 217 CVec4Type_Vector *j(m_j[i]. Get<CVec4Type>());217 CVec4Type_Vector *j(m_j[i].template Get<CVec4Type>()); 218 218 if (!this->m_fl.Strong()) { 219 219 if (!this->m_msv) 220 220 for (typename CVec4Type_Vector::iterator -
PDF/Electron/PDF_Electron.C
103 103 PDF_Base *PDFE_Getter::operator() 104 104 (const Parameter_Type &args) const 105 105 { 106 if ( !args.m_bunch.Kfcode()==kf_e) return NULL;106 if (args.m_bunch.Kfcode()!=kf_e) return NULL; 107 107 int izetta=args.p_read->GetValue<int>("ISR_E_ORDER",1); 108 108 int order=args.p_read->GetValue<int>("ISR_E_SCHEME",2); 109 109 return new PDF_Electron(args.m_bunch,izetta,order); -
PHASIC++/Main/Phase_Space_Handler.C
837 837 template Weight_Info &ATOOLS::Blob_Data_Base::Get<Weight_Info>(); 838 838 839 839 namespace ATOOLS { 840 std::ostream & operator<<(std::ostream & s, const PHASIC::Weight_Info & wi)841 {842 s<<" w = "<<wi.m_weight<<std::endl;843 return s;844 }845 }846 847 namespace ATOOLS {848 840 template <> Blob_Data<Weight_Info>::~Blob_Data() {} 849 841 850 842 template class Blob_Data<Weight_Info>; -
PHASIC++/Main/Phase_Space_Handler.H
63 63 64 64 };// end of struct Weight_Info 65 65 66 inline std::ostream & operator<<(std::ostream & s, const PHASIC::Weight_Info & wi) 67 { 68 s<<" w = "<<wi.m_weight<<std::endl; 69 return s; 70 } 71 66 72 class Phase_Space_Integrator; 67 73 class Process_Base; 68 74 -
AMEGIC++/Amplitude/Single_Amplitude.C
180 180 msg_Out()<<"G("<<c->ParticleArg(0)<<" "<<c->ParticleArg(1)<<") "; 181 181 break; 182 182 } 183 case 10: {184 msg_Out()<<"TP("<<c->ParticleArg(0)<<" "<<c->ParticleArg(1)185 <<" "<<c->ParticleArg(2)<<") ";186 break;187 }188 183 default : break; 189 184 } 190 185 c = c->Next(); -
AMEGIC++/Amplitude/Amplitude_Output.C
16 16 pid=pid.substr(pid.rfind('/')+1); 17 17 std::string fname=gpath+pid+std::string(".tex"); 18 18 pios.open(fname.c_str()); 19 top = top;19 top = _top; 20 20 ampl=0; 21 21 counter=0; 22 22 maincounter=1; -
HADRONS++/Main/Mixing_Handler.C
65 65 string tag = flav.IsAnti() ? flav.Bar().IDName() : flav.IDName(); 66 66 if(m_model("Mixing_"+tag,0.0)!=0.0 && decayer->Info()!=char('M')) { 67 67 double t = DetermineMixingTime(decayer,true)/rpa->hBar(); 68 if(t==0.0) return false;68 if(t==0.0) return NULL; 69 69 double factor = decayer->Flav().QOverP2(); 70 70 if(decayer->Flav().IsAnti()) factor = 1.0/factor; 71 71 double dG = decayer->Flav().DeltaGamma()*t/4.0; -
SHRiMPS/Tools/DEQ_Solver.C
64 64 } 65 65 } 66 66 } while (run); 67 if (accu>=0.) msg_Tracking()<<"Out "<<METHOD<<"(steps = "<<steps<<", accu = "<<accu<<"), " 68 <<"accuracy better than "<<diffmax<<"."<<std::endl; 69 else msg_Debugging()<<"Out "<<METHOD<<"(steps = "<<steps<<", accu = "<<accu<<")."<<std::endl; 67 if (accu>=0.) { 68 msg_Tracking()<<"Out "<<METHOD<<"(steps = "<<steps<<", accu = "<<accu<<"), " 69 <<"accuracy better than "<<diffmax<<"."<<std::endl; 70 } else { 71 msg_Debugging()<<"Out "<<METHOD<<"(steps = "<<steps<<", accu = "<<accu<<")."<<std::endl; 72 } 70 73 } 71 74 72 75 -
AMISIC++/Model/Simple_Chain.C
225 225 return true; 226 226 } 227 227 228 boolSimple_Chain::InitializeProcessList(const Flavour& in1,228 void Simple_Chain::InitializeProcessList(const Flavour& in1, 229 229 const Flavour& in2, 230 230 const Flavour& out1, 231 231 const Flavour& out2) -
AMISIC++/Model/Simple_Chain.H
75 75 bool ReadInData(); 76 76 77 77 bool CreateGrid(); 78 boolInitializeProcessList(const ATOOLS::Flavour& in1,78 void InitializeProcessList(const ATOOLS::Flavour& in1, 79 79 const ATOOLS::Flavour& in2, 80 80 const ATOOLS::Flavour& out1, 81 81 const ATOOLS::Flavour& out2);