SVAC Event Filter

The SVAC event filter can be used to filter out events from a digi/mc/recon root file either using cuts on variables from the Merit or SVAC ntuples or using an event list.  The new and reduced digi/mc/recon root file can then, for example, be used with Fred for visualization.

Using the event filter with cuts on Merit or SVAC ntuple variables:

Using the event filter with an already made event list using Event ID (Merit ntuple variable 'EvtEventId' or SVAC ntuple variable 'EventID'):

Using the event filter with an already made event list using event indices:


You can now use the reduced digi/recon/mc root files in Fred and look at the filtered events. Please note that the abovementioned problem with MC variables in Merit being zero does not affect the MC information in FRED.

 

SVAC Ntuple Pruners

Use the ntuple pruners with cuts on either Merit or SVAC ntuple variables to reduce the size of your ntuples. Keep only the events you are interested in! To look at the pruned Root files you sometimes have to quit Root and start it up again. I'm sure it's a feature ..... 

 

Prune a single ntuple with cuts using variables from the same Ntuple:

 

Prune a single TChain of ntuples with cuts using variables from the same TChain:

 

Pruning a single ntuple with cuts using variables from a different Ntuple:

Pruning a TChain with cuts using variables from a different TChain: