Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
np
nptool
Commits
815a483d
Commit
815a483d
authored
11 years ago
by
adrien-matta
Browse files
Options
Downloads
Patches
Plain Diff
* TTiaraBarrelPhysics now call TTiaraBarrelSpectra
parent
ea9b9639
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NPLib/Tiara/TTiaraBarrelPhysics.cxx
+6
-6
6 additions, 6 deletions
NPLib/Tiara/TTiaraBarrelPhysics.cxx
NPLib/Tiara/TTiaraBarrelPhysics.h
+8
-8
8 additions, 8 deletions
NPLib/Tiara/TTiaraBarrelPhysics.h
with
14 additions
and
14 deletions
NPLib/Tiara/TTiaraBarrelPhysics.cxx
+
6
−
6
View file @
815a483d
...
...
@@ -428,16 +428,16 @@ void TTiaraBarrelPhysics::ReadConfiguration(string Path){
InitializeStandardParameter
();
ReadAnalysisConfig
();
}
/*
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
void
TTiaraBarrelPhysics
::
InitSpectra
(){
//
m_Spectra = new TTiaraBarrelSpectra();
m_Spectra
=
new
TTiaraBarrelSpectra
(
m_NumberOfDetector
);
}
///////////////////////////////////////////////////////////////////////////
void
TTiaraBarrelPhysics
::
FillSpectra
(){
//
m_Spectra -> FillRawSpectra(m_EventData);
//
m_Spectra -> FillPreTreatedSpectra(m_PreTreatedData);
//
m_Spectra -> FillPhysicsSpectra(m_EventPhysics);
m_Spectra
->
FillRawSpectra
(
m_EventData
);
m_Spectra
->
FillPreTreatedSpectra
(
m_PreTreatedData
);
m_Spectra
->
FillPhysicsSpectra
(
m_EventPhysics
);
}
///////////////////////////////////////////////////////////////////////////
void
TTiaraBarrelPhysics
::
CheckSpectra
(){
...
...
@@ -450,7 +450,7 @@ void TTiaraBarrelPhysics::ClearSpectra(){
///////////////////////////////////////////////////////////////////////////
map
<
vector
<
TString
>
,
TH1
*
>
TTiaraBarrelPhysics
::
GetSpectra
()
{
return
m_Spectra
->
GetMapHisto
();
}
*/
}
///////////////////////////////////////////////////////////////////////////
void
TTiaraBarrelPhysics
::
AddParameterToCalibrationManager
(){
CalibrationManager
*
Cal
=
CalibrationManager
::
getInstance
();
...
...
This diff is collapsed.
Click to expand it.
NPLib/Tiara/TTiaraBarrelPhysics.h
+
8
−
8
View file @
815a483d
...
...
@@ -27,7 +27,7 @@
#include
<map>
// NPL
#include
"TTiaraBarrelData.h"
//
#include "TTiaraBarrelSpectra.h"
#include
"TTiaraBarrelSpectra.h"
#include
"../include/CalibrationManager.h"
#include
"../include/VDetector.h"
...
...
@@ -37,7 +37,7 @@
#include
"TObject.h"
#include
"TH1.h"
//
class TTiaraBarrelSpectra;
class
TTiaraBarrelSpectra
;
using
namespace
std
;
...
...
@@ -117,14 +117,14 @@ class TTiaraBarrelPhysics : public TObject, public NPA::VDetector{
// Method related to the TSpectra classes, aimed at providing a framework
// for online applications
// Instantiate the Spectra class and the histogramm throught it
//
void InitSpectra();
void
InitSpectra
();
// Fill the spectra hold by the spectra class
//
void FillSpectra();
void
FillSpectra
();
// Used for Online mainly, perform check on the histo and for example change
// their color if issues are found
//
void CheckSpectra();
void
CheckSpectra
();
// Used for Online only, clear all the spectra hold by the Spectra class
//
void ClearSpectra();
void
ClearSpectra
();
public
:
// Specific to TiaraBarrel Array
// Clear The PreTeated object
...
...
@@ -191,10 +191,10 @@ class TTiaraBarrelPhysics : public TObject, public NPA::VDetector{
vector
<
vector
<
double
>
>
m_StripPositionZ
;
//!
private
:
// Spectra
//
TTiaraBarrelSpectra* m_Spectra;//!
TTiaraBarrelSpectra
*
m_Spectra
;
//!
public
:
//
map< vector<TString>,TH1* > GetSpectra();
map
<
vector
<
TString
>
,
TH1
*
>
GetSpectra
();
ClassDef
(
TTiaraBarrelPhysics
,
1
)
// SharcPhysics structure
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment