Functions | Variables
VarsAndCuts.h File Reference
#include "CAFAna/Cuts/Cuts.h"
#include "CAFAna/Vars/Vars.h"
#include "CAFAna/Core/Binning.h"
#include "StandardRecord/Proxy/SRProxy.h"

Go to the source code of this file.

Functions

const Var kSliceTime ([](const caf::SRProxy *sr){return sr->slc.meantime/1000;})
 
const Cut kSoftContain ([](const caf::SRProxy *sr){return sr->slc.ncellsfromedge > 10 &&sr->slc.firstplane > 10 &&sr->slc.lastplane< 210;})
 
const Cut kDQCut ([](const caf::SRProxy *sr){return sr->trk.cosmic.ntracks > 0 &&sr->slc.ncontplanes >=6;})
 
const SpillVar kSpillLivetime ([](const caf::SRSpillProxy *spill){return spill->livetime;})
 

Variables

const Cut kInTimeLoose = SIMPLEVAR(slc.meantime) > 25e3 && SIMPLEVAR(slc.meantime) < 475e3
 
const Cut kInTimeTight = SIMPLEVAR(slc.meantime) > 315e3 && SIMPLEVAR(slc.meantime) < 325e3
 
const Cut kCut = kDQCut && kSoftContain
 

Function Documentation

const Cut kDQCut ( [] (const caf::SRProxy *sr){return sr->trk.cosmic.ntracks > 0 &&sr->slc.ncontplanes >=6;}  )
const Var kSliceTime ( [] (const caf::SRProxy *sr){return sr->slc.meantime/1000;}  )
const Cut kSoftContain ( [] (const caf::SRProxy *sr){return sr->slc.ncellsfromedge > 10 &&sr->slc.firstplane > 10 &&sr->slc.lastplane< 210;}  )
const SpillVar kSpillLivetime ( [] (const caf::SRSpillProxy *spill){return spill->livetime;}  )

Variable Documentation

const Cut kCut = kDQCut && kSoftContain
const Cut kInTimeLoose = SIMPLEVAR(slc.meantime) > 25e3 && SIMPLEVAR(slc.meantime) < 475e3

Definition at line 33 of file VarsAndCuts.h.

const Cut kInTimeTight = SIMPLEVAR(slc.meantime) > 315e3 && SIMPLEVAR(slc.meantime) < 325e3

Definition at line 34 of file VarsAndCuts.h.

Referenced by getData(), getEventList(), and getTimePeakTotal().