Public Member Functions | Private Attributes | List of all members
isBeamType Class Reference

#include <SelectionDefinitions.h>

Public Member Functions

 isBeamType (bool check_calo)
 
bool operator() (int reco_beam_type, std::vector< double > energies)
 

Private Attributes

bool fCheckCalo
 

Detailed Description

Definition at line 394 of file SelectionDefinitions.h.

Constructor & Destructor Documentation

isBeamType::isBeamType ( bool  check_calo)
inline

Definition at line 398 of file SelectionDefinitions.h.

399  : fCheckCalo(check_calo) {}

Member Function Documentation

bool isBeamType::operator() ( int  reco_beam_type,
std::vector< double >  energies 
)
inline

Definition at line 400 of file SelectionDefinitions.h.

400  {
401  if (fCheckCalo) {
402  return (energies.size() > 0 && reco_beam_type == 13);
403  }
404 
405  return (reco_beam_type == 13);
406  }

Member Data Documentation

bool isBeamType::fCheckCalo
private

Definition at line 396 of file SelectionDefinitions.h.


The documentation for this class was generated from the following file: