コード例 #1
0
ファイル: HBook.cpp プロジェクト: apfeiffer1/iAIDA
void
iAIDA::AIDA_HBookStore::HBook::declareCWNTuple(const int& id, const std::string& title)
{
  int tid = id;
  std::string ttitle = title;
  std::string diskRes = "D";
  hbnt_(&tid, 
        const_cast<char*>(title.c_str()), 
        const_cast<char*>(diskRes.c_str()), 
        title.length(), diskRes.length());
}
コード例 #2
0
ファイル: bcal2nt.cpp プロジェクト: noemi8a/sim-recon
 void hbnt(int id,const char*chtitle,const char*chopt)
 {
    void hbnt_(int *id ,const char* name, const char* chmod,int ,int);
    hbnt_(&id,chtitle,chopt,strlen(chtitle),strlen(chopt));
 }
コード例 #3
0
ファイル: cern_c.c プロジェクト: noemi8a/sim-recon
void hbnt(int id,char *CHTITL,char *CHOPT)
{
    hbnt_(&id,CHTITL,CHOPT,strlen(CHTITL),strlen(CHOPT));
}