CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
reco::parser::CutSetter Struct Reference

#include <CutSetter.h>

Public Member Functions

 CutSetter (SelectorPtr &cut, SelectorStack &selStack)
 
void operator() (const char *, const char *) const
 

Public Attributes

SelectorPtrcut_
 
SelectorStackselStack_
 

Detailed Description

Definition at line 19 of file CutSetter.h.

Constructor & Destructor Documentation

reco::parser::CutSetter::CutSetter ( SelectorPtr cut,
SelectorStack selStack 
)
inline

Definition at line 20 of file CutSetter.h.

20  :
21  cut_(cut), selStack_(selStack) { }
SelectorStack & selStack_
Definition: CutSetter.h:30
SelectorPtr & cut_
Definition: CutSetter.h:29

Member Function Documentation

void reco::parser::CutSetter::operator() ( const char *  ,
const char *   
) const
inline

Definition at line 23 of file CutSetter.h.

References cut_, and selStack_.

23  {
24  assert(0 == cut_.get());
25  assert(!selStack_.empty());
26  cut_ = selStack_.back();
27  selStack_.pop_back();
28  }
SelectorStack & selStack_
Definition: CutSetter.h:30
SelectorPtr & cut_
Definition: CutSetter.h:29

Member Data Documentation

SelectorPtr& reco::parser::CutSetter::cut_

Definition at line 29 of file CutSetter.h.

Referenced by operator()().

SelectorStack& reco::parser::CutSetter::selStack_

Definition at line 30 of file CutSetter.h.

Referenced by operator()().