From 7aa1ab98fdadeb906cf8118e193ddc059420792e Mon Sep 17 00:00:00 2001 From: Andrea Venturi Date: Mon, 8 Oct 2012 15:48:49 +0000 Subject: [PATCH] --- yaml --- r: 120959 b: "refs/heads/CMSSW_7_0_X" c: 4536dc8d05bffbc897cc6a6abd5f6c2d2bd53065 h: "refs/heads/CMSSW_7_0_X" i: 120957: ce6fae721a30a93f25ef3138a4be444a90892852 120955: 4b38c8edd82fb40d8bb309506729f22e32f20932 120951: 5c2f4d35a55b3c758f11e0c4dde3c7c4384dc8f3 120943: 71125ea268d46626e8c604c1ec5a1de5b1b595e6 120927: 15ca28988346897284b6b1952462fc2248349cd8 120895: f24d9e7a515ff83141879176f9554dfd2b8f56ed 120831: 9eb74164f101adfe7e02da51e40b403ab468e6b9 v: v3 --- [refs] | 2 +- trunk/DataFormats/TrackerCommon/src/ClusterSummary.cc | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 5b14e6f8e3a78..b81a890ce62f1 100644 --- a/[refs] +++ b/[refs] @@ -2,4 +2,4 @@ "refs/heads/hi_d20131223": d7335b053d7fe03e98f9f59af6a20004362628e8 refs/heads/gh-pages: a3d9046c56a3ca3dc64ad63f7295276c81ac876a "refs/heads/analysis_53X_01": 3019419e9784b2b092fc6b5c503b2e0177cbe926 -"refs/heads/CMSSW_7_0_X": 5e770d83d539c3426a0067a77e1fc60707092675 +"refs/heads/CMSSW_7_0_X": 4536dc8d05bffbc897cc6a6abd5f6c2d2bd53065 diff --git a/trunk/DataFormats/TrackerCommon/src/ClusterSummary.cc b/trunk/DataFormats/TrackerCommon/src/ClusterSummary.cc index 81579e5b3b56f..c44c4ef7c72d4 100644 --- a/trunk/DataFormats/TrackerCommon/src/ClusterSummary.cc +++ b/trunk/DataFormats/TrackerCommon/src/ClusterSummary.cc @@ -56,7 +56,7 @@ int ClusterSummary::GetVariableLocation ( std::string var ) const { int placeInUserVector = -1; - /* + int cnt = 0; for(std::vector::const_iterator it = userContent.begin(); it != userContent.end(); ++it) { @@ -67,8 +67,9 @@ int ClusterSummary::GetVariableLocation ( std::string var ) const { else ++cnt; } - */ + + /* if ( var == "cHits" ) placeInUserVector = NMODULES; else if (var == "cSize" ) @@ -83,7 +84,7 @@ int ClusterSummary::GetVariableLocation ( std::string var ) const { placeInUserVector = CLUSTERCHARGEPIXELS; else placeInUserVector = -1; - + */ if (placeInUserVector == -1){ std::ostringstream err; err<<"No information for requested var "<