This application produce root-file with TList of VKmask (see PamCut/aux/VKmask) objects. Last object in list is TH2D - live time and rigidity profile, LTs for different masks and rigidities. X - rigidity cutoffs, binned according textfile ( option --rigbin_file ), Y - mask ID (not global, but local for given bunch), Z is LT in seconds.

Options are:
 option:        --inp_dir    directory where input files with tree "mask_vk_tree" stored. 
	                     Contains VKmask[12] array, abstime, cutoff, babs, ltime and produced by PamCut/CollectionActions/MaskVKTreeAction
 option:    --inp_pattern    pattern to select files in inp_dir. Could contain wildcards.
 option:        --out_dir    output directory where out_ root files will be stored. One file per each timebunch
 option:    --rigbin_file    full path to textfile with binning. 1 coulumn with left edges of rigidity bins
 option:     --bunch_file    full path to textfile with time bunches. 2 coulumns: start and stop abstimes. 

Example:
./mask_profiler --inp_dir /gpfs/wizard/01/nikonov/HE_TOOLS/EFF_PROD_9RED_28_10_10/mask_VK_all/ --inp_pattern L2PAM10*MaskVK.root --bunch_file /gpfs/wizard/01/nikonov/HE_TOOLS/HE_EFF_9RED_28_10_10/mask_profiler/time_bunches_test.txt --out_dir /gpfs/wizard/01/nikonov/HE_TOOLS/HE_EFF_9RED_28_10_10/mask_profiler --rigbin_file /gpfs/wizard/01/nikonov/HE_TOOLS/HE_EFF_9RED_28_10_10/mask_profiler/riglist_basic_v9_orig.txt