-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 73087 b: "refs/heads/CMSSW_7_1_X" c: 0b8bf86 h: "refs/heads/CMSSW_7_1_X" i: 73085: 6f62144 73083: c592305 73079: 6f0ed47 73071: da0c879 73055: 7a0867d 73023: ad3e338 72959: 5fb1bbf v: v3
- Loading branch information
Dmytro Kovalskyi
committed
Sep 6, 2009
1 parent
6166e13
commit 196a425
Showing
8 changed files
with
224 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e | ||
"refs/heads/CMSSW_7_1_X": 4d0e5a217f434e1160dcee1b31aa535b0e91a962 | ||
"refs/heads/CMSSW_7_1_X": 0b8bf86192fac12280a70d6069d1a33b405abe7c |
42 changes: 42 additions & 0 deletions
42
trunk/TrackingTools/TrackAssociator/interface/PreshowerDetIdAssociator.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#ifndef TrackAssociator_PreshowerDetIdAssociator_h | ||
#define TrackAssociator_PreshowerDetIdAssociator_h 1 | ||
// -*- C++ -*- | ||
// | ||
// Package: TrackAssociator | ||
// Class: PreshowerDetIdAssociator | ||
// | ||
/* | ||
Description: <one line class summary> | ||
Implementation: | ||
<Notes on implementation> | ||
*/ | ||
// | ||
// Original Author: Dmytro Kovalskyi | ||
// $Id: PreshowerDetIdAssociator.h,v 1.1.2.1 2009/07/01 10:04:16 dmytro Exp $ | ||
// | ||
// | ||
|
||
#include "TrackingTools/TrackAssociator/interface/CaloDetIdAssociator.h" | ||
#include "DataFormats/EcalDetId/interface/EcalSubdetector.h" | ||
|
||
class PreshowerDetIdAssociator: public CaloDetIdAssociator{ | ||
public: | ||
PreshowerDetIdAssociator():CaloDetIdAssociator(30,60,0.1){}; | ||
|
||
PreshowerDetIdAssociator(const edm::ParameterSet& pSet):CaloDetIdAssociator(pSet){}; | ||
|
||
protected: | ||
|
||
virtual std::set<DetId> getASetOfValidDetIds() const { | ||
std::set<DetId> setOfValidIds; | ||
std::vector<DetId> vectOfValidIds = geometry_->getValidDetIds(DetId::Ecal, EcalPreshower); | ||
for(std::vector<DetId>::const_iterator it = vectOfValidIds.begin(); it != vectOfValidIds.end(); ++it) | ||
setOfValidIds.insert(*it); | ||
|
||
return setOfValidIds; | ||
}; | ||
|
||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.