ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TCatCmdLoopStart.cc
Go to the documentation of this file.
1/**
2 * @file TCatCmdLoopStart.cc
3 * @brief
4 * @author Kodai Okawa <okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2023-06-13 17:23:44
6 * @note last modified: 2024-08-21 18:20:58
7 * @details
8 */
9
10#include "TCatCmdLoopStart.h"
11#include <TLoopManager.h>
12
14
16
18 SetName("start");
19 SetTitle("start loop (same with resume");
20}
22
24 static TCatCmdLoopStart instance;
25 return &instance;
26}
27
28Long_t TCatCmdLoopStart::Cmd(vector<TString> args) {
29 art::TLoopManager *lm = art::TLoopManager::Instance();
30 switch (args.size()) {
31 case 1:
32 lm->Resume(0);
33 break;
34 default:
35 break;
36 }
37 return 1;
38}
39
ClassImp(TCatCmdLoopStart)
static TCatCmdLoopStart * Instance()
Long_t Cmd(vector< TString > args) override
return to the guide