您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ AddEntry函数代码示例

51自学网 2021-06-01 19:40:51
  C++
这篇教程C++ AddEntry函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中AddEntry函数的典型用法代码示例。如果您正苦于以下问题:C++ AddEntry函数的具体用法?C++ AddEntry怎么用?C++ AddEntry使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了AddEntry函数的24个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: TLegend

   entry->SetLineWidth(2);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   leg->Draw();      leg = new TLegend(0.19,0.2,0.42,0.29,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetTextSize(0.031);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(1001);   entry=leg->AddEntry("graphobs_lvjwzh13","lvqq","LP");   ci = TColor::GetColor("#053061");   entry->SetLineColor(ci);   entry->SetLineStyle(1);   entry->SetLineWidth(1);   ci = TColor::GetColor("#053061");   entry->SetMarkerColor(ci);   entry->SetMarkerStyle(26);   entry->SetMarkerSize(0.9);   entry->SetTextFont(42);   entry=leg->AddEntry("graphobs_lvjwh13","lvbb","LP");   ci = TColor::GetColor("#2166ac");   entry->SetLineColor(ci);
开发者ID:jngadiub,项目名称:ExoDiBosonCombination,代码行数:31,


示例2: TLegend

   hframe__6->GetZaxis()->SetLabelFont(42);   hframe__6->GetZaxis()->SetLabelOffset(0.007);   hframe__6->GetZaxis()->SetLabelSize(0.05);   hframe__6->GetZaxis()->SetTitleSize(0.06);   hframe__6->GetZaxis()->SetTitleFont(42);   hframe__6->Draw("sameaxig");      leg = new TLegend(0.3555276,0.6643357,0.8404523,0.8653846,NULL,"brNDC");   leg->SetBorderSize(1);   leg->SetTextSize(0.031);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(2);   leg->SetFillColor(19);   leg->SetFillStyle(0);   entry=leg->AddEntry("Graph1","Asympt. CL_{S}  Expected #pm 1#sigma","LF");   ci = TColor::GetColor("#00ff00");   entry->SetFillColor(ci);   entry->SetFillStyle(1001);   entry->SetLineColor(1);   entry->SetLineStyle(2);   entry->SetLineWidth(3);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   entry=leg->AddEntry("Graph0","Asympt. CL_{S}  Expected #pm 2#sigma","LF");   ci = TColor::GetColor("#ffff00");   entry->SetFillColor(ci);
开发者ID:jngadiub,项目名称:13TeV_datacards_Spring15,代码行数:31,


示例3: AddEntry

void EditTOC::AddEntryAbove(){    AddEntry(true);}
开发者ID:Doug0212,项目名称:Sigil,代码行数:4,


示例4: AddEntry

void HelpSystem::SetupCompareMap(){	AddEntry(m_Deltaview, HIDC_DOCUMENT_SELECTOR				,Selecting_Documents_to_Compare);	//AddEntry(m_Deltaview, HIDC_PROGRAM_PREFERENCES				,Configuring_User_Preferences);	//AddEntry(m_Deltaview, HIDC_DOCUMENT_OPTIONS					,Redline_Options_Rendering_Sets);	//AddEntry(m_Deltaview, HIDC_INSERTED_TEXT_FORMAT				,Inserted_Text_Format);	//AddEntry(m_Deltaview, HIDC_DELETED_TEXT_FORMAT				,Deleted_Text_Format);	//AddEntry(m_Deltaview, HIDC_MOVED_TEXT_FORMAT				,Moved_Text_Format);	//AddEntry(m_Deltaview, HIDC_STYLECHANGE_FORMAT				,Style_Change_Format);	//AddEntry(m_Deltaview, HIDC_SAVE_OPTIONS_SET					,Customizing_Rendering_Sets);	AddEntry(m_Deltaview, HIDC_COMMAND_LINE_OPTIONS				,command_line_options); //ib	AddEntry(m_Deltaview, HIDC_INVALID_OPTIONS_FILE				,D2H_RenderingSets);//ib	AddEntry(m_Deltaview, HIDC_FAILED_TO_OPEN_DOCUMENT			,D2H_DocumentComparison);//ib	AddEntry(m_Deltaview, HIDC_FAILED_TO_COMPARE				,D2H_DocumentComparison);//ib	//AddEntry(m_Deltaview, HIDC_FORMAT_CHANGE_TEXT_FORMAT		,Font_Change_Format);	AddEntry(m_Deltaview, HIDC_EXPIRED_COPY						,D2H_Registrationandevaluation);//ib	AddEntry(m_Deltaview, HIDC_FEATURE_DISBLED					,D2H_DocumentComparison);//ib	AddEntry(m_Deltaview, HIDC_FILE_DOESNT_EXIST				,D2H_DocumentSelectionSourceisnotavailable);//ib	AddEntry(m_Deltaview, HIDC_GOTO_CHANGE						,Navigating_Changes);	//AddEntry(m_Deltaview, HIDC_TABLES_FORMAT					,Table_Cell_Format);	//AddEntry(m_Deltaview, HIDC_SUCCESS_SEND_FILE_DV				,D2H_Sendingaredlinedocumentviaemail);//ib	//AddEntry(m_Deltaview, HIDC_SUCCESS_SEND_FILE				,D2H_Sendingaredlinedocumentviaemail);//ib	AddEntry(m_Deltaview, HIDC_NO_FILE_NAME						,D2H_DocumentSelectionSourceisnotavailable);//ib	AddEntry(m_Deltaview, HIDC_CREATE_DIR_FAILED				,D2H_Localtemporarydirectory);//ib	//AddEntry(m_Deltaview, HIDC_CHANGE_NUMBERING_FORMAT			,Change_Numbering_Format);	AddEntry(m_Deltaview, HIDC_CHANGE_NOT_FOUND					,D2H_GoTodialogbox );//ib	AddEntry(m_Deltaview, HIDC_DMS_OPEN_FAILED					,D2H_DocumentSelectionSourceisnotavailable);//ib	AddEntry(m_Deltaview, HIDC_REDLINE_DOC_MODIFIED				,Editing_Redline_Documents);	AddEntry(m_Deltaview, HIDC_MAIL_DOCUMENTS					,emailing_comparison);	//AddEntry(m_Deltaview, HIDC_PRINT_SOURCE_FAILED				,D2H_Printingtheredlinedocument);//ib	AddEntry(m_Deltaview, HIDC_LOAD_DOC_FAILED					,D2H_DocumentComparison);//ib	//AddEntry(m_Deltaview, HIDC_RENDERING_MANAGEMENT				,Customizing_Rendering_Sets);	//AddEntry(m_Deltaview, HIDC_CONFIG_SAVED						,Saving_Configuration_Files);	//AddEntry(m_Deltaview, HIDC_AUTOOPTIONS						,DV_Config_Manager);	//AddEntry(m_Deltaview, HIDC_UNABLE_TO_SAVE_OPTION_SET		,rights_rend_sets);	//AddEntry(m_Deltaview, HIDC_UNABLE_TO_DELETE_OPTION_SET		,rights_rend_sets);	AddEntry(m_Deltaview, HIDC_COPY_DOC_FAILED					,D2H_DocumentComparison );//ib	AddEntry(m_Deltaview, HIDC_CONVERSION_EXCEPTION				,D2H_DocumentComparison );//ib	AddEntry(m_Deltaview, HIDC_COMPARE_SAME_DOCUMENTS			,D2H_SelectingdocumentsfromwithinDeltaView);//ib	//AddEntry(m_Deltaview, HIDC_SAVE_CONFIG_SECTION				,DV_Config_Manager);	//AddEntry(m_Deltaview, HIDC_SELECT_ONE_SECTION				,Saving_Configuration_Files);	AddEntry(m_Deltaview, HIDC_DELTAFILE_OLD_VERSION			,D2H_VersionsofDeltaView);//ib	AddEntry(m_Deltaview, HIDC_DELTAFILE_NEW_VERSION			,D2H_VersionsofDeltaView);//ib	AddEntry(m_Deltaview, HIDC_REDLINE_LOCKED					,unable_to_perform_a_comparison );	AddEntry(m_Deltaview, HIDC_VERIFY_FAILED					,failed_to_get_license);	AddEntry(m_Deltaview, HIDC_KEYBOARD_SHORTCUTS				,Keyboard_Shortcuts);	//AddEntry(m_Deltaview, HIDC_DOCUMENT_MANAGEMENT_SETUP		,Document_Management_DeltaView_);	//AddEntry(m_Deltaview, HIDC_EMAIL_SETUP						,DV_Config_Email_Settings);	//AddEntry(m_Deltaview, HIDC_REGISTRATION_SETUP				,DeltaView_Registration);	//AddEntry(m_Deltaview, HIDC_ADMINISTRATION_SETUP				,DeltaView_Administration);	//AddEntry(m_Deltaview, HIDC_USER_PREFERENCES_SETUP			,DV_Config_User_Prefs);	//AddEntry(m_Deltaview, HIDC_ASK_CANCEL_COMPARISON			,D2H_TheProgressdialogbox);//ib	AddEntry(m_Deltaview, HIDC_SHOW_COMPARISON					,D2H_TheProgressdialogbox);//ib	//AddEntry(m_Deltaview, HIDC_SELECT_FROM_LOCAL_SYSTEM			,D2H_Opening_SavingadocumentfromalocalharddriveifDeltaViewisintegratedwithadocumentmanagementsystem );//ib	AddEntry(m_Deltaview, HIDC_SAVING_DOCUMENTS					,D2H_Savingdocuments);//ib	//AddEntry(m_Deltaview, HIDC_PASSWORD_PROTECT_CONFIG			,password_protect_config);	//AddEntry(m_Deltaview, HIDC_LICENCING						,License_Workshare);	//AddEntry(m_Deltaview, HIDC_LICENCE_RELEASE					,release_license_compare);		//AddEntry(m_Deltaview, HIDC_DVOUT_INVALID_ATTACHMENT_FORMAT	,D2H_DVOutExt_Invalid_Attachment_Format);//ib	//AddEntry(m_Deltaview, HIDC_COMPARISON_OPTIONS				,Comparison_Options); // TODO: Is this still correct?	//AddEntry(m_Deltaview, HIDC_READABILITY_OPTIONS				,Readability_Options);	//AddEntry(m_Deltaview, HIDC_SECURITY							,DeltaView_Security);	AddEntry(m_Deltaview, HIDC_DV_MINI_PANE						,DV_Mini_Pane);	AddEntry(m_Deltaview, HIDC_PRODUCT_NOT_ENABLED					,Product_Not_Enabled);	AddEntry(m_Deltaview, HIDC_ACCESS_DENIED_SAVING_AS_OTHER_FORMAT, D2H_AccessDeniedSavingDocAsOtherFormat);	AddEntry(m_Deltaview, HIDC_FILE_NOT_VALID_DV_FORMAT			,invalid_deltafile_format);	//AddEntry(m_Deltaview, HIDC_DELTAFILE_NEW_VERSION			,later_version);	AddEntry(m_Deltaview, HIDC_LOAD_REDLINE_FAILURE				,failed_to_load_redline);	AddEntry(m_Deltaview, HIDC_DV_HAD_TO_AUTO_RETRY				,auto_retry_mode);	//AddEntry(m_Deltaview, HIDC_EXEC_CONVERT_TO_PDF				,Excel_Convert_to_PDF);	//AddEntry(m_Deltaview, HIDC_SEND_FOR_REVIEW_FORMAT			,Word_Send_For_Review);	//AddEntry(m_Deltaview, HIDC_NO_FILE_SEND_FOR_REVIEW			,No_File_Send_For_Review);	//AddEntry(m_Deltaview, HIDC_ACT_ON_CHANGES_ERROR				,Act_On_Changes_Error);	//AddEntry(m_Deltaview, HIDC_ACT_ON_CHANGES_FAILURE			,Act_On_Changes_Failure);	//AddEntry(m_Deltaview, HIDC_OCR								,OCR_configuration_manager);	//AddEntry(m_Deltaview, HIDC_INCORRECT_PASSWORD				,password_protect_config);}
开发者ID:killbug2004,项目名称:WSProf,代码行数:81,


示例5: TLegend

   Graph_Graph2->GetZaxis()->SetLabelSize(0.05);   Graph_Graph2->GetZaxis()->SetTitleSize(0.05);   Graph_Graph2->GetZaxis()->SetTitleFont(42);   grae->SetHistogram(Graph_Graph2);      grae->Draw("pe");      leg = new TLegend(0.1744966,0.1818182,0.4630872,0.451049,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetTextSize(0.03496503);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(1001);   entry=leg->AddEntry("Graph","0-5%","pe");   entry->SetLineColor(1);   entry->SetLineStyle(1);   entry->SetLineWidth(2);   ci = TColor::GetColor("#ff0000");   entry->SetMarkerColor(ci);   entry->SetMarkerStyle(20);   entry->SetMarkerSize(1.2);   entry->SetTextFont(42);   entry=leg->AddEntry("Graph","5-10%","pe");   entry->SetLineColor(1);   entry->SetLineStyle(1);   entry->SetLineWidth(2);   ci = TColor::GetColor("#0000ff");
开发者ID:Feynman27,项目名称:code_HI,代码行数:31,


示例6: ASSERT

ALERROR CDataFile::WriteVersion (int iEntry, const CString &sData, DWORD *retdwVersion)//	WriteVersion////	Writes out a new version of the entry	{	ALERROR error;	ASSERT(IsOpen());	ASSERT(!m_fReadOnly);	//	Make sure we're in bounds	if (iEntry < 0 || iEntry >= m_iEntryTableCount)		return ERR_FAIL;	if (m_pEntryTable[iEntry].dwBlock == FREE_ENTRY)		return ERR_FAIL;	//	Add a new entry	int iNewEntry;	if (error = AddEntry(sData, &iNewEntry))		return error;	//	NOTE: We have to set this pointer AFTER we add the entry because	//	AddEntry might move the array.	ENTRYSTRUCT *pEntry = &m_pEntryTable[iEntry];	//	Swap so that the original entry has the new saved block	//	and the new entry has the old one	ENTRYSTRUCT *pNewEntry = &m_pEntryTable[iNewEntry];	Swap(pEntry->dwBlock, pNewEntry->dwBlock);	Swap(pEntry->dwBlockCount, pNewEntry->dwBlockCount);	Swap(pEntry->dwSize, pNewEntry->dwSize);	pNewEntry->dwVersion = pEntry->dwVersion;	pNewEntry->dwPrevEntry = pEntry->dwPrevEntry;	pNewEntry->dwFlags = pEntry->dwFlags;	//	The latest version points back to the previous	pEntry->dwVersion = pNewEntry->dwVersion + 1;	pEntry->dwPrevEntry = (DWORD)iNewEntry;	//	The old version points to the latest	pNewEntry->dwLatestEntry = (DWORD)iEntry;	//	Done	m_fEntryTableModified = TRUE;	//	Flush	if (error = Flush())		return error;	return NOERROR;	}
开发者ID:Sdw195,项目名称:Transcendence,代码行数:62,


示例7: TLegend

 entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw();  leg = new TLegend(0.4566667,0.82,0.7822222,0.9066667,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","#splitline{pp #rightarrow h #rightarrow 2n_{1} #rightarrow 2n_{D} + 2 #gamma_{D} #rightarrow 2n_{D} + 4#mu}{#splitline{m_{h} = 125 GeV, m_{n_{1}} = 10 GeV, m_{n_{D}} = 1 GeV}{m_{#gamma_{D}} = 0.4 GeV, c#tau_{#gamma_{D}} = 0. mm}}","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw();  leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1);
开发者ID:cms-tamu,项目名称:MuJetAnalysis_DarkSusySamples_LHE_13TeV_2mu2e_01,代码行数:31,


示例8: TLegend

   entry->SetLineWidth(2);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   leg->Draw();      leg = new TLegend(0.72,0.5,0.89,0.8,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetTextSize(0.03);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(1001);   entry=leg->AddEntry("NULL","R_{#Lambda} = 80%","h");   entry->SetLineColor(1);   entry->SetLineStyle(1);   entry->SetLineWidth(1);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   entry=leg->AddEntry("Graph","g_{eff} = 1","l");   ci = TColor::GetColor("#9999ff");   entry->SetLineColor(ci);   entry->SetLineStyle(5);   entry->SetLineWidth(2);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);
开发者ID:cmorgoth,项目名称:PhD-Thesis,代码行数:31,


示例9: TLegend

 entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); leg->Draw();  leg = new TLegend(0,0,0,0,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextFont(62); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(19); leg->SetFillStyle(0); entry=leg->AddEntry("h1","B meson",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h1","M_{B}=5282.65 #pm 1.80 MeV/c^{2}",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h1","N_{B}=323 #pm 21",""); entry->SetLineColor(1);
开发者ID:taweiXcms,项目名称:HIBmeson_PseudoGenerator,代码行数:31,


示例10: AddEntry

void cElCompiledFonc::InitEntries(){     static bool First = true;     if (! First)	return;     First = false;     AddEntry("cEqAppui_Droite_GL__PTInc_M2CNoVar",cEqAppui_Droite_GL__PTInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_GL__PProjInc_M2CNoVar",cEqAppui_Droite_GL__PProjInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_NoDist__GL__PTInc_M2CNoVar",cEqAppui_Droite_NoDist__GL__PTInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_NoDist__GL__PProjInc_M2CNoVar",cEqAppui_Droite_NoDist__GL__PProjInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_PTInc_M2CNoVar",cEqAppui_Droite_PTInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_PProjInc_M2CNoVar",cEqAppui_Droite_PProjInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_NoDist__PTInc_M2CNoVar",cEqAppui_Droite_NoDist__PTInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_NoDist__PProjInc_M2CNoVar",cEqAppui_Droite_NoDist__PProjInc_M2CNoVar::Alloc);     AddEntry("cEqAppui_Droite_GL__PTInc_M2CDRad5",cEqAppui_Droite_GL__PTInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_GL__PProjInc_M2CDRad5",cEqAppui_Droite_GL__PProjInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_NoDist__GL__PTInc_M2CDRad5",cEqAppui_Droite_NoDist__GL__PTInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_NoDist__GL__PProjInc_M2CDRad5",cEqAppui_Droite_NoDist__GL__PProjInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_PTInc_M2CDRad5",cEqAppui_Droite_PTInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_PProjInc_M2CDRad5",cEqAppui_Droite_PProjInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_NoDist__PTInc_M2CDRad5",cEqAppui_Droite_NoDist__PTInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_NoDist__PProjInc_M2CDRad5",cEqAppui_Droite_NoDist__PProjInc_M2CDRad5::Alloc);     AddEntry("cEqAppui_Droite_GL__PTInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_GL__PTInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqAppui_Droite_GL__PProjInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_GL__PProjInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqAppui_Droite_NoDist__GL__PTInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_NoDist__GL__PTInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqAppui_Droite_NoDist__GL__PProjInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_NoDist__GL__PProjInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqAppui_Droite_PTInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_PTInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqAppui_Droite_PProjInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_PProjInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqAppui_Droite_NoDist__PTInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_NoDist__PTInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqAppui_Droite_NoDist__PProjInc_M2CDRad_PPaEqPPs",cEqAppui_Droite_NoDist__PProjInc_M2CDRad_PPaEqPPs::Alloc);     AddEntry("cEqObsBaseGPS",cEqObsBaseGPS::Alloc);     AddEntry("cEqObsBaseGPS_GL",cEqObsBaseGPS_GL::Alloc);     AddEntry("cImplEqRelativeGPS",cImplEqRelativeGPS::Alloc);          AddEntry("cCodeBlockCam",cCodeBlockCam::Alloc);     AddEntry("cEqLinariseAngle",cEqLinariseAngle::Alloc);     AddEntry("cEqLinariseAngle_AccelCsteCoord",cEqLinariseAngle_AccelCsteCoord::Alloc);     AddEntry("cEqBBCamFirst",cEqBBCamFirst::Alloc);     AddEntry("cEqBBCamSecond",cEqBBCamSecond::Alloc);     AddEntry("cEqBBCamThird",cEqBBCamThird::Alloc);     AddEntry("cEqBBCamFirst_AccelCsteCoord",cEqBBCamFirst_AccelCsteCoord::Alloc);     AddEntry("cEqBBCamSecond_AccelCsteCoord",cEqBBCamSecond_AccelCsteCoord::Alloc);     AddEntry("cEqBBCamThird_AccelCsteCoord",cEqBBCamThird_AccelCsteCoord::Alloc);     FULL_NEW_ADD_ENTRY(Fraser_PPaEqPPs)     FULL_NEW_ADD_ENTRY(Four7x2);     FULL_NEW_ADD_ENTRY(Four11x2);     FULL_NEW_ADD_ENTRY(Four15x2);     FULL_NEW_ADD_ENTRY(Four19x2);     FULL_NEW_ADD_ENTRY(CamBilin);/*     NEW_ADD_ENTRY(Fraser_PPaEqPPs)     AddEntry("cEqAppui_PTInc_M2CFraser_PPaEqPPs",cEqAppui_PTInc_M2CFraser_PPaEqPPs::Alloc);     AddEntry("cEqAppui_PProjInc_M2CFraser_PPaEqPPs",cEqAppui_PProjInc_M2CFraser_PPaEqPPs::Alloc);*/     // NEW_ADD_ENTRY(Four7x2);     // AddEntry("cEqAppui_GL__PTInc_M2CFraser_PPaEqPPs",          cEqAppui_GL__PTInc_M2CFraser_PPaEqPPs::Alloc);     // AddEntry("cEqAppui_GL__PProjInc_M2CFraser_PPaEqPPs",         cEqAppui_GL__PProjInc_M2CFraser_PPaEqPPs::Alloc);     AFOC_ADD_ENTRY(DRad5)     NEW_ADD_ENTRY(NoDist)     NEW_ADD_ENTRY(DRad5)     NEW_ADD_ENTRY(DRad5APFraser)     NEW_ADD_ENTRY(Ebner)     NEW_ADD_ENTRY(DCBrown)     NEW_ADD_ENTRY(FishEye_10_5_5)     NEW_ADD_ENTRY(EquiSolid_FishEye_10_5_5)     NEW_ADD_ENTRY(DRad_PPaEqPPs)     NEW_ADD_ENTRY(Polyn2)     NEW_ADD_ENTRY(Polyn3)     NEW_ADD_ENTRY(Polyn4)     NEW_ADD_ENTRY(Polyn5)     NEW_ADD_ENTRY(Polyn6)     NEW_ADD_ENTRY(Polyn7)     AddEntry("cEqAppui_NoDist__GL__PProjInc_M2CNoVar",cEqAppui_NoDist__GL__PProjInc_M2CNoVar::Alloc);    // EqHom     AddEntry("cEqAppui_NoDist__GL__PTInc_M2CNoVar",cEqAppui_NoDist__GL__PTInc_M2CNoVar::Alloc);    // EqHom     AddEntry("cEqAppui_NoDist__PProjInc_M2CNoVar",cEqAppui_NoDist__PProjInc_M2CNoVar::Alloc);    // EqHom     AddEntry("cEqAppui_NoDist__PTInc_M2CNoVar",cEqAppui_NoDist__PTInc_M2CNoVar::Alloc);    // EqHom     AddEntry("cCylindre_EqRat_CodGen",cCylindre_EqRat_CodGen::Alloc);     AddEntry("cEqDirectDistDRad5Reformat_CodGen",cEqDirectDistDRad5Reformat_CodGen::Alloc);    // EqHom     AddEntry("cEqDirectDistDRad5Interp_CodGen",cEqDirectDistDRad5Interp_CodGen::Alloc);    // EqHom     AddEntry("cEqDirectDistDRad5Bayer_CodGen",cEqDirectDistDRad5Bayer_CodGen::Alloc);    // EqHom//.........这里部分代码省略.........
开发者ID:xialang2012,项目名称:micmac-archeos,代码行数:101,


示例11: findfunc

void findfunc(){  //dijet case  // auto fmcppbjt = config.getfile_djt("mcppbfa");  // auto nt = (TTree *)fmcppbjt->Get("nt");  // seth(18,40,220);  // auto hd = geth("hd");  // auto hn = geth("hn");  // nt->Project("hd","jtpt2","weight*(pthat>80 && jtpt1>100 && abs(refparton_flavorForB1)==5 && abs(refparton_flavorForB2)!=5 && dphi21>2.1)");  // nt->Project("hn","jtpt2","weight*(pthat>80 && jtpt1>100 && abs(refparton_flavorForB1)==5 && abs(refparton_flavorForB2)!=5 && dphi21>2.1 && discr_csvV1_2>0.9)");  // hn->Divide(hn,hd,1,1,"B")  // hn->Fit(f)    auto fpp = new TF1("fpp","expo",40,200);  auto f1 = new TF1("fPb1","expo",40,200);  auto f2 = new TF1("fPb2","expo",40,200);  auto f3 = new TF1("fPb3","expo",40,200);  seth(18,40,200);  auto ntpp = (TTree *)config.getfile_inc("mcppqcd")->Get("nt");  auto hd = geth("hd");  auto hn = geth("hn",";p_{T} [GeV];mistag probability");  ntpp->Project("hd","jtpt","weight*(pthat>50 && refpt>20 && abs(refparton_flavorForB)!=5)");  ntpp->Project("hn","jtpt","weight*(pthat>50 && refpt>20 && abs(refparton_flavorForB)!=5 && discr_csvV1>0.9)");  hn->Divide(hn,hd,1,1,"B");  // hn->Scale(1/hn->Integral());  hn->Fit(fpp);  auto nt = (TTree *)config.getfile_inc("mcPbqcd")->Get("nt");  auto hd1 = geth("hd1");  auto hn1 = geth("hn1",";p_{T} [GeV];mistag probability");  nt->Project("hd1","jtpt","weight*(pthat>50 && refpt>20 && bin < 20 && abs(refparton_flavorForB)!=5)");  nt->Project("hn1","jtpt","weight*(pthat>50 && refpt>20 && bin < 20 && abs(refparton_flavorForB)!=5 && discr_csvV1>0.9)");  hn1->Divide(hn1,hd1,1,1,"B");  // hn1->Scale(1/hn1->Integral());  hn1->Fit(f1);  auto hd2 = geth("hd2");  auto hn2 = geth("hn2",";p_{T} [GeV];mistag probability");  nt->Project("hd2","jtpt","weight*(pthat>50 && refpt>20 && bin>=20 && bin<60 && abs(refparton_flavorForB)!=5)");  nt->Project("hn2","jtpt","weight*(pthat>50 && refpt>20 && bin>=20 && bin<60 && abs(refparton_flavorForB)!=5 && discr_csvV1>0.9)");  hn2->Divide(hn2,hd2,1,1,"B");  // hn2->Scale(1/hn2->Integral());  hn2->Fit(f2);  auto hd3 = geth("hd3");  auto hn3 = geth("hn3",";p_{T} [GeV];mistag probability");  nt->Project("hd3","jtpt","weight*(pthat>50 && refpt>20 && bin>=60 && abs(refparton_flavorForB)!=5)");  nt->Project("hn3","jtpt","weight*(pthat>50 && refpt>20 && bin>=60 && abs(refparton_flavorForB)!=5 && discr_csvV1>0.9)");  hn3->Divide(hn3,hd3,1,1,"B");  // hn3->Scale(1/hn3->Integral());  hn3->Fit(f3);  // because of backward imcompatibility with root version on polui  cout<<"auto fpp = new TF1(/"fpp/",/"expo/","<<fpp->GetXmin()<<","<<fpp->GetXmax()<<");"<<endl;  cout<<"auto fPb1 = new TF1(/"fPb1/",/"expo/","<<f1->GetXmin()<<","<<f1->GetXmax()<<");"<<endl;  cout<<"auto fPb2 = new TF1(/"fPb2/",/"expo/","<<f2->GetXmin()<<","<<f2->GetXmax()<<");"<<endl;  cout<<"auto fPb3 = new TF1(/"fPb3/",/"expo/","<<f3->GetXmin()<<","<<f3->GetXmax()<<");"<<endl;  cout<<"fpp->SetParameters("<<fpp->GetParameter(0)<<","<<fpp->GetParameter(1)<<");"<<endl;  cout<<"fPb1->SetParameters("<<f1->GetParameter(0)<<","<<f1->GetParameter(1)<<");"<<endl;  cout<<"fPb2->SetParameters("<<f2->GetParameter(0)<<","<<f2->GetParameter(1)<<");"<<endl;  cout<<"fPb3->SetParameters("<<f3->GetParameter(0)<<","<<f3->GetParameter(1)<<");"<<endl;  // hn->SetMinimum(0);  // hn1->SetMinimum(0);  // hn2->SetMinimum(0);  // hn3->SetMinimum(0);  auto fout = new TFile("../correctionfiles/BXmistagfunc.root","recreate");  fout->cd();  fpp->Write();  f1->Write();  f2->Write();  f3->Write();  hn->Write();  hn1->Write();  hn2->Write();  hn3->Write();  auto c = getc();  f1->SetLineColor(kRed);  f2->SetLineColor(kGreen);  f3->SetLineColor(kOrange);  fpp->SetLineColor(kBlue);  auto l = getLegend();  l->AddEntry(fpp,"pp","L");  l->AddEntry(f1,"bin<20","L");//.........这里部分代码省略.........
开发者ID:bjet2015,项目名称:dibjets,代码行数:101,


示例12: TLegend

 entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); leg->Draw();  leg = new TLegend(1.718479e-308,1.720703e-308,1.724591e-308,1.727307e-308,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextFont(62); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(19); leg->SetFillStyle(0); entry=leg->AddEntry("h81","B meson",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h81","M_{B}=5278.66 #pm 4.89 MeV/c^{2}",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h81","N_{B}=26 #pm 5",""); entry->SetLineColor(1);
开发者ID:taweiXcms,项目名称:HIBmeson_PseudoGenerator,代码行数:31,


示例13: TLegend

 entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); leg->Draw();  leg = new TLegend(0,2.353513e-310,0,0,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextFont(62); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(19); leg->SetFillStyle(0); entry=leg->AddEntry("h3","B meson",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h3","M_{B}=5281.13 #pm 1.95 MeV/c^{2}",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h3","N_{B}=131 #pm 13",""); entry->SetLineColor(1);
开发者ID:taweiXcms,项目名称:HIBmeson_PseudoGenerator,代码行数:31,


示例14: stream

  QSettings s;  s.beginGroup(kSettingsGroup);  access_token_ = s.value("access_token").toString();  server_ = s.value("server").toString();  QByteArray tree_bytes = s.value("tree").toByteArray();  if (!tree_bytes.isEmpty()) {    QDataStream stream(&tree_bytes, QIODevice::ReadOnly);    stream >> tree_;  }  app->player()->RegisterUrlHandler(new SeafileUrlHandler(this, this));  connect(&tree_, SIGNAL(ToAdd(QString, QString, SeafileTree::Entry)), this,          SLOT(AddEntry(QString, QString, SeafileTree::Entry)));  connect(&tree_, SIGNAL(ToDelete(QString, QString, SeafileTree::Entry)), this,          SLOT(DeleteEntry(QString, QString, SeafileTree::Entry)));  connect(&tree_, SIGNAL(ToUpdate(QString, QString, SeafileTree::Entry)), this,          SLOT(UpdateEntry(QString, QString, SeafileTree::Entry)));}bool SeafileService::has_credentials() const {  return !access_token_.isEmpty();}void SeafileService::AddAuthorizationHeader(QNetworkRequest* request) const {  request->setRawHeader("Authorization",                        QString("Token %1").arg(access_token_).toAscii());}
开发者ID:Aceler,项目名称:Clementine,代码行数:30,


示例15: TLegend

 entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); leg->Draw();  leg = new TLegend(3.694129e-320,1.615595e-321,3.67486e-320,1.615595e-321,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextFont(62); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(19); leg->SetFillStyle(0); entry=leg->AddEntry("h65","B meson",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h65","M_{B}=5286.22 #pm 3.68 MeV/c^{2}",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("h65","N_{B}=49 #pm 8",""); entry->SetLineColor(1);
开发者ID:taweiXcms,项目名称:HIBmeson_PseudoGenerator,代码行数:31,


示例16: TLegend

   entry->SetLineWidth(2);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   leg->Draw();      leg = new TLegend(0.17,0.15,0.45,0.28,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetTextSize(0.031);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(1001);   entry=leg->AddEntry("graphexp_jjwwzh8","qqqq","LP");   ci = TColor::GetColor("#1b7837");   entry->SetLineColor(ci);   entry->SetLineStyle(1);   entry->SetLineWidth(1);   ci = TColor::GetColor("#1b7837");   entry->SetMarkerColor(ci);   entry->SetMarkerStyle(22);   entry->SetMarkerSize(0.7);   entry->SetTextFont(42);   entry=leg->AddEntry("graphexp_lljzh8","llqq","LP");   ci = TColor::GetColor("#762a83");   entry->SetLineColor(ci);
开发者ID:jngadiub,项目名称:ExoDiBosonCombination,代码行数:31,


示例17: TLegend

 hframe__3->GetZaxis()->SetLabelFont(42); hframe__3->GetZaxis()->SetLabelOffset(0.007); hframe__3->GetZaxis()->SetLabelSize(0.05); hframe__3->GetZaxis()->SetTitleSize(0.06); hframe__3->GetZaxis()->SetTitleFont(42); hframe__3->Draw("sameaxig");  leg = new TLegend(0.3724832,0.5963455,0.8875839,0.7973422,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.031); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("LimitObservedCLs","Asympt. CL_{S} Observed","LP"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Limit68CLs","Asympt. CL_{S} Expected #pm 1#sigma","LF"); entry->SetFillColor(3); entry->SetFillStyle(1001); entry->SetLineColor(1); entry->SetLineStyle(2); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21);
开发者ID:jngadiub,项目名称:ExoDiBosonCombination,代码行数:31,


示例18: TLegend

   entry->SetLineStyle(2);   entry->SetLineWidth(2);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(1);   entry->SetMarkerSize(1);   leg->Draw();leg = new TLegend(0.3590604,0.1324503,0.738255,0.3427152,NULL,"brNDC");   leg->SetBorderSize(1);   leg->SetTextFont(62);   leg->SetLineColor(0);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(1001);   TLegendEntry *entry=leg->AddEntry("e_Chi2Syst_correlated_res3D","Signal after fit","lpf");   entry->SetFillStyle(1001);   ci = TColor::GetColor("#99cc99");   entry->SetLineColor(ci);   entry->SetLineStyle(1);   entry->SetLineWidth(2);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(1);   entry->SetMarkerSize(1);   entry=leg->AddEntry("e_comb2_Components2_subtracted","data - bkg (after fit)","lpf");   entry->SetFillStyle(1001);   ci = TColor::GetColor("#000099");   entry->SetLineColor(ci);   entry->SetLineStyle(1);
开发者ID:nadjieh,项目名称:work,代码行数:31,


示例19: TLegend

 entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw();  leg = new TLegend(0.17,0.7,0.88,0.77,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("RAA_h_b_copy1957747793","#it{b}-jet #it{R}_{AA}, Au+Au 0-10%C, #sqrt{s_{NN}}=200 GeV","pl"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(20); entry->SetMarkerSize(2); entry->SetTextFont(42); leg->Draw();  leg = new TLegend(0.2,0.2,0.85,0.37,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0);
开发者ID:sPHENIX-Collaboration,项目名称:analysis,代码行数:31,


示例20: TLegend

 entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw();  leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","CMS Simulation (LHE) 13 TeV","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw();  leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1);
开发者ID:jrdimasvalle,项目名称:MuJetAnalysis_DarkSusySamples_LHE_13TeV_04,代码行数:31,


示例21: TLegend

   entry->SetLineStyle(1);   entry->SetLineWidth(1);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   leg->Draw();      leg = new TLegend(0.19,0.55,1,0.78,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(0);   entry=leg->AddEntry("NULL","#it{b}-jet v_{2} Projection, #it{R}_{AA, #it{b}-jet}=0.6, Res(#Psi_{2})=0.7","h");   entry->SetLineColor(1);   entry->SetLineStyle(1);   entry->SetLineWidth(1);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   entry=leg->AddEntry("ge_h_b_copyv21714636915","Au+Au 0-10%C","pl");   ci = TColor::GetColor("#000066");   entry->SetLineColor(ci);   entry->SetLineStyle(1);   entry->SetLineWidth(3);   ci = TColor::GetColor("#000066");
开发者ID:sPHENIX-Collaboration,项目名称:analysis,代码行数:31,


示例22: TLegend

   entry->SetMarkerColor(1);   entry->SetMarkerStyle(20);   entry->SetMarkerSize(1.5);   entry->SetTextFont(62);   leg->Draw();      leg = new TLegend(0.4,0.6195462,0.62,0.8935428,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetTextFont(62);   leg->SetTextSize(0.045);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(0);   entry=leg->AddEntry("EnergyFlow_pythia8_Monash_RecHit","RecHits","PL");   Int_t ci;      // for color index setting   TColor *color; // for color definition with alpha   ci = TColor::GetColor("#009900");   entry->SetLineColor(ci);   entry->SetLineStyle(1);   entry->SetLineWidth(1);   ci = TColor::GetColor("#009900");   entry->SetMarkerColor(ci);   entry->SetMarkerStyle(25);   entry->SetMarkerSize(1.5);   entry->SetTextFont(62);   entry=leg->AddEntry("EnergyFlow_pythia8_Monash_CaloTower","CaloTowers","PL");
开发者ID:zdemirog,项目名称:EnergyFlow13TeVProducePlots,代码行数:30,


示例23: TLegend

   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(62);   leg->Draw();      leg = new TLegend(0.68,0.6,0.92,0.92,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetTextFont(62);   leg->SetTextSize(0.035);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(2);   leg->SetFillColor(0);   leg->SetFillStyle(4000);   entry=leg->AddEntry("ttbar","t#bar{t}","F");   ci = TColor::GetColor("#3333ff");   entry->SetFillColor(ci);   entry->SetFillStyle(1001);   entry->SetLineColor(1);   entry->SetLineStyle(1);   entry->SetLineWidth(1);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(62);   entry=leg->AddEntry("ZZb","VV + b","F");   ci = TColor::GetColor("#cccccc");   entry->SetFillColor(ci);
开发者ID:dcurry09,项目名称:Heppy,代码行数:31,


示例24: TLegend

   entry->SetLineWidth(2);   entry->SetMarkerColor(1);   entry->SetMarkerStyle(21);   entry->SetMarkerSize(1);   entry->SetTextFont(42);   leg->Draw();      leg = new TLegend(0.17,0.71,0.43,0.88,NULL,"brNDC");   leg->SetBorderSize(0);   leg->SetTextSize(0.032);   leg->SetLineColor(1);   leg->SetLineStyle(1);   leg->SetLineWidth(1);   leg->SetFillColor(0);   leg->SetFillStyle(1001);   entry=leg->AddEntry("graphexp_lljzh8","llqq (8 TeV)","LP");   ci = TColor::GetColor("#762a83");   entry->SetLineColor(ci);   entry->SetLineStyle(1);   entry->SetLineWidth(1);   ci = TColor::GetColor("#762a83");   entry->SetMarkerColor(ci);   entry->SetMarkerStyle(25);   entry->SetMarkerSize(0.7);   entry->SetTextFont(42);   entry=leg->AddEntry("graphexp_lvjww8","lvqq (8 TeV)","LP");   ci = TColor::GetColor("#9970ab");   entry->SetLineColor(ci);
开发者ID:jngadiub,项目名称:ExoDiBosonCombination,代码行数:31,



注:本文中的AddEntry函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ AddEnum函数代码示例
C++ AddEmote函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。