test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ZMuMuMassConstraintParameterFinder::DiMuonInfo Class Reference

helper class containing information about a di-muon system More...

Public Member Functions

 DiMuonInfo (double, double)
 
void fill ()
 
std::vector< reco::GenParticle > & muons ()
 
void setupTree (const std::string &, edm::Service< TFileService > &)
 

Private Attributes

double diMuonMass_ {-1.0}
 
const double maxMassPair_
 
const double minMassPair_
 
std::vector< reco::GenParticlemuons_
 
bool passed_ {false}
 
int pdgMother_ {0}
 
TTree * tree_ { 0 }
 

Detailed Description

helper class containing information about a di-muon system

Definition at line 60 of file ZMuMuMassConstraintParameterFinder.cc.

Constructor & Destructor Documentation

ZMuMuMassConstraintParameterFinder::DiMuonInfo::DiMuonInfo ( double  minMass,
double  maxMass 
)

Member Function Documentation

void ZMuMuMassConstraintParameterFinder::DiMuonInfo::fill ( )
std::vector<reco::GenParticle>& ZMuMuMassConstraintParameterFinder::DiMuonInfo::muons ( )
inline

Definition at line 65 of file ZMuMuMassConstraintParameterFinder.cc.

References muons_.

65 { return muons_; }
void ZMuMuMassConstraintParameterFinder::DiMuonInfo::setupTree ( const std::string &  name,
edm::Service< TFileService > &  fs 
)

Definition at line 195 of file ZMuMuMassConstraintParameterFinder.cc.

References TFileService::make().

196 {
197  tree_ = fs->make<TTree>(name.c_str(), name.c_str());
198  tree_->Branch("muons", &muons_);
199  tree_->Branch("di_muon_mass", &diMuonMass_);
200  tree_->Branch("pdg_mother", &pdgMother_);
201  tree_->Branch("in_mass_window", &passed_);
202 }
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64

Member Data Documentation

double ZMuMuMassConstraintParameterFinder::DiMuonInfo::diMuonMass_ {-1.0}
private

Definition at line 70 of file ZMuMuMassConstraintParameterFinder.cc.

const double ZMuMuMassConstraintParameterFinder::DiMuonInfo::maxMassPair_
private

Definition at line 75 of file ZMuMuMassConstraintParameterFinder.cc.

const double ZMuMuMassConstraintParameterFinder::DiMuonInfo::minMassPair_
private

Definition at line 74 of file ZMuMuMassConstraintParameterFinder.cc.

std::vector<reco::GenParticle> ZMuMuMassConstraintParameterFinder::DiMuonInfo::muons_
private

Definition at line 69 of file ZMuMuMassConstraintParameterFinder.cc.

Referenced by muons().

bool ZMuMuMassConstraintParameterFinder::DiMuonInfo::passed_ {false}
private

Definition at line 72 of file ZMuMuMassConstraintParameterFinder.cc.

int ZMuMuMassConstraintParameterFinder::DiMuonInfo::pdgMother_ {0}
private

Definition at line 71 of file ZMuMuMassConstraintParameterFinder.cc.

TTree* ZMuMuMassConstraintParameterFinder::DiMuonInfo::tree_ { 0 }
private

Definition at line 68 of file ZMuMuMassConstraintParameterFinder.cc.