ShadowKiller' blog

一个公开的网络记事本,并且博主特别的懒。比猪还懒。

排序:
默认
按更新时间
按访问量

c++ string 字符串分割

https://www.cnblogs.com/Azhu/articles/3981193.html

2018-02-05 15:12:02

阅读数:26

评论数:0

[ProE (Creo) 二次开发] 实现Dialog中Tree的Node节点的展开和折叠

主要是用这两个函数。 ProUITreeActivateActionSet() ProUITreeTreecurrentnodeGet() 第一个函数 ProUITreeActivateActionSet() 表示,在用户双击Tree的某一个节点(node)的时候,指定调用(callback)...

2018-01-15 21:51:14

阅读数:197

评论数:0

【MyNote】Latex 普通笔记模版

\documentclass[11pt, a4paper]{article} %\documentclass[eprint,amsmath,amssymb%, %superscriptaddress, %groupedaddress, %unsortedaddress, %runinad...

2017-03-27 15:17:03

阅读数:1274

评论数:0

【windows】 鼠标右键cmd命令窗口打开选项

文件夹鼠标右键 增加cmd选项Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\folder\shell\cmd] @=”在此位置打开CMD” [HKEY_CLASSES_ROOT\folder\shell\cmd\command] ...

2017-03-01 16:00:26

阅读数:467

评论数:0

【python】 中单引号,双引号,三个双引号的差别

单引号&双引号 print "hello, world" 和 print 'hello, world'是一样的。单引号特殊用途:英语中的单引号的使用。如 print 'hello, dogs' world' 是错误的,而 print "hello, dogs'...

2017-03-01 15:38:18

阅读数:232

评论数:0

bash for windows 图形界面显示方法汇总

bash for windows 图形界面显示方法汇总今天是2016年05月26日,这个日期是重要的,因为到这个时候位置我的windows更新到的版本是14342。在我之前的版本上,因为仅仅是一个null的问题我就已经崩溃了(精神崩溃,系统还在那好好的)。言归正传我也就是找了几个大家的帖子,汇总在...

2016-05-21 16:00:16

阅读数:5134

评论数:0

[cernRoot] how to get contours from a TH2D

here, i use a TMultiGraph to save the gotten contours, because the contours may be not closed in a TH2D, with the function TMultiGraph * GetContours(...

2016-12-02 13:16:53

阅读数:242

评论数:0

how to remain a TObject after the corresponding TFile is closed

当一个TFile 被关闭时,在这个文件打开至结束之间产生的任何类,默认都是delete的。其用意相当于,TFile相当于一个目录,当打开这个目录的时候,里面的任何东西都是可以看得到的,但当关闭了这个目录,其中的任何东西都在内存中被清除。这是一个保持文件使用过程中保持内存清洁的做法。但是有的时候,我...

2016-11-25 22:07:13

阅读数:152

评论数:0

how to calculate the textsize of TLatex in CernRoot

double pad_width_for_textSizeValue0; double pad_height_for_textSizeValue0; double pad_width_for_textSizeValue; double pad_height_for_textSizeValue; d...

2016-10-15 16:30:42

阅读数:275

评论数:0

[cernRoot] How make a beautiful graph by CernRoot?

double xmin = 0.15, xmax = 1.65, ymin = .0, ymax = .59; double x[3] = {1./8., 4./8., 7./8.}; double y[6] = {1./17., 4./17., 7./17., 10./17., ...

2015-09-17 19:22:47

阅读数:961

评论数:0

[c++] random number

#include #include #include srand(unsigned(time(0)));/*use time as random number seed*/double random(double start,double end){ return start+(end-start...

2015-06-02 21:46:04

阅读数:306

评论数:0

my web sites for HEP

[★][glgoo] [★][inspirehep] [★][wikipedia] [sch.g] [sch.g.hk] [g.linkscholar] [guog] [keyan] [G.oldBig] [sci-hub] [gycc] [yandex...

2016-08-07 22:33:36

阅读数:365

评论数:8

如何添加网络打印机

此文特定针对L332的HP打印机(很破的那个) 控制面板-》硬件和声音-》设备和打印机 添加打印机-》我所需要的打印机未列出-》通过手动设置添加本地打印机或网络打印机-》下一步 创建新端口(Local Port) 输入端口名(\192.168.2.193\HP LaserJet 1020)-》下一...

2016-05-30 16:48:22

阅读数:398

评论数:2

[bash] how to use bash-shell array

how to use bash-shell array#!/bin/bash # echo "### title: b36_run_b35.sh" array=(0 1 2 3 4) for((i=0;i<${#array[@]};i++)) do echo ${...

2016-05-24 20:27:03

阅读数:333

评论数:0

paper published at 2016/4/29

Forward-backward multiplicity correlations caused by centrality fluctuations in high-energy heavy-ion collisionshttp://link.aps.org/doi/10.1103/PhysR...

2016-04-29 12:27:11

阅读数:198

评论数:0

[bash shell] how to calculate float times float

It is noted for myself, please do check for yourself.#!/bin/bash # ########################################### alpha=0.0 for((i=0;i<=10;i++)) do ...

2016-04-24 22:03:20

阅读数:245

评论数:0

read file by bash shell just as getline() in c++

#!/bin/bashcat ../file.list | while read LINE do echo $LINE done

2016-04-24 21:24:34

阅读数:283

评论数:0

[cernRoot]how to get tree name?

TIter nextkey( root_file->GetListOfKeys() ); TKey *key, *oldkey=0; while ( (key = (TKey*)nextkey())) { TObject *obj = key->ReadObj...

2015-07-11 14:08:05

阅读数:278

评论数:0

[cernRoot]how to deal with TPavetext->SetTextAngle()?

https://root.cern.ch/root/roottalk/roottalk98/2083.html Charles Leggett wrote: > Is SetTextAngle() implemented for TPaveText objects? I can't seem...

2015-06-04 22:10:35

阅读数:390

评论数:0

[cernRoot]Get graphs from TMultiGraph

int ngr = mg[4]->GetListOfGraphs()->GetSize(); TList * gr_list = mg[0]->GetListOfGraphs(); TGraph * gr0 = (TGraph *)gr_list->Firs...

2015-06-04 14:13:06

阅读数:279

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭