AMSDST
Classes | Macros | Functions | Variables
Ntuplize.cxx File Reference
#include <unistd.h>
#include <cstdio>
#include <iostream>
#include <signal.h>
#include <getopt.h>
#include "root_RVSP.h"
#include "amschain.h"
#include <TFile.h>
#include <TKey.h>
#include <TTree.h>
#include <Compression.h>
#include <TrRecon.h>
#include "debug.h"
#include "myChain.h"
#include "myInfo.h"
#include "myRTI.h"
#include "myStatus.h"
#include "myHeader.h"
#include "myEvent.h"
#include "myParticle.h"
#include "myMC.h"
#include "myBeta.h"
#include "myBetaH.h"
#include "myTrdTrack.h"
#include "myTrdTrackPlus.h"
#include "myTrdK.h"
#include "myTrdQtFromTrTrack.h"
#include "myRichRing.h"
#include "myEcalShower.h"
#include "myTrTrack.h"
#include "myTrTrackPlus.h"
#include "myEcalShowerPlus.h"
#include "myRichRingPlus.h"
#include "myBetaPlus.h"
#include "myBetaHPlus.h"
#include "config.hxx"

Go to the source code of this file.

Classes

struct  gargs_t
 

Macros

#define _SELECT_ALL_
 

Functions

void shandler (int sig)
 
int main (int argc, char *argv[])
 
TString CreateOutputFileName (TTree *_InputTree)
 
bool GoodEventToBeNtuplized (AMSEventR *ev)
 
void _usage (char *name)
 
int _proc_args (int argc, char *argv[])
 

Variables

volatile bool stoploop =false
 
struct gargs_t gargs
 
static struct option long_options []
 

Macro Definition Documentation

#define _SELECT_ALL_

Definition at line 45 of file Ntuplize.cxx.

Function Documentation

int _proc_args ( int  argc,
char *  argv[] 
)

Definition at line 107 of file Ntuplize.cxx.

References gargs, gsection, long_options, gargs_t::notrackerplus, gargs_t::num, gargs_t::odir, and gargs_t::start.

Referenced by main().

void _usage ( char *  name)

Definition at line 93 of file Ntuplize.cxx.

Referenced by main().

TString CreateOutputFileName ( TTree *  _InputTree)

Definition at line 627 of file Ntuplize.cxx.

Referenced by main().

bool GoodEventToBeNtuplized ( AMSEventR *  ev)

Definition at line 673 of file Ntuplize.cxx.

References PRINTDEBUG.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)
void shandler ( int  sig)

Definition at line 53 of file Ntuplize.cxx.

References stoploop.

Referenced by main().

Variable Documentation

struct gargs_t gargs

Referenced by _proc_args(), and main().

struct option long_options[]
static
Initial value:
= {
{"noecalplus", no_argument, 0, 'e'},
{"notrackerplus", no_argument, 0, 't'},
{"disable", required_argument, nullptr, 'd'},
{"produce", required_argument, nullptr, 'p'},
{"nevents", required_argument, 0, 'n'},
{"start", required_argument, 0, 's'},
{"outdir", required_argument, 0, 'o'},
{"help", no_argument, 0, 'h'},
{0, 0, 0, 0}
}

Definition at line 81 of file Ntuplize.cxx.

Referenced by _proc_args().

volatile bool stoploop =false

Definition at line 52 of file Ntuplize.cxx.

Referenced by main(), and shandler().