Difference between revisions of "Online analysis software"

From Hall A Wiki
Jump to: navigation, search
(HOWTO run DVCS replay)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
In order to replay DVCS files from a-onl@aonl machines:
 
In order to replay DVCS files from a-onl@aonl machines:
  
godvcs
+
godvcs<br>
analyzer
+
analyzer<br>
.L replay_DVCS.C
+
.L replay_DVCS.C<br>
replay_DVCS(run_number)
+
replay_DVCS(run_number)<br>
.q
+
.q<p>
  
Output files should be in Rofiles/left_dvcs_runnumber.root
+
Output files should be in Rootfiles/left_dvcs_runnumber.root
  
 
== For: developer: HOWTO make changes and recompile the DVCS decoding software ==
 
== For: developer: HOWTO make changes and recompile the DVCS decoding software ==
  
You want to update TDVCSCalo::Decode in /adaqfs/home/a-onl/dvcs12/onldvcs (and recompile by doing make in that directory).
+
You want to update TDVCSCalo::Decode in /adaqfs/home/a-onl/dvcs12/onldvcs  
  
 
For private versions while developing, you can make a copy of:  
 
For private versions while developing, you can make a copy of:  
  
 
<ul>
 
<ul>
<li>/adaqfs/home/a-onl/dvcs12/onldvcs
+
<li>cp -r /adaqfs/home/a-onl/dvcs12/onldvcs mypersonaldir
/adaqfs/home/a-onl/dvcs12/onldvcs/ReplayCore.C
+
<li>cp /adaqfs/home/a-onl/dvcs12/onlana/ReplayCore.C mypersonaldir
/adaqfs/home/a-onl/dvcs12/onlana/rootlogon.C
+
<li>cp /adaqfs/home/a-onl/dvcs12/onlana/rootlogon.C mypersonaldir
/adaqfs/home/a-onl/dvcs12/onlana/replay_DVCS.C
+
<li>cp /adaqfs/home/a-onl/dvcs12/onlana/replay_DVCS.C mypersonaldir
 
</ul>
 
</ul>
  
You can compile by doing make in your private copy of /adaqfs/home/a-onl/dvcs12/onldvcs and then load the libTDVCSCalo.so just created in your private copy of replay_DVCS.C
+
You can compile by doing make in your private copy mypersonaldir and then load the libTDVCSCalo.so just created in your private copy of replay_DVCS.C
 +
 
 +
After you are happy with your version, just copy TDVCSCalo.cxx to /adaqfs/home/a-onl/dvcs12/onldvcs and do make there for everyone to enjoy...

Latest revision as of 11:44, 29 January 2015

HOWTO run DVCS replay

In order to replay DVCS files from a-onl@aonl machines:

godvcs
analyzer
.L replay_DVCS.C
replay_DVCS(run_number)

.q

Output files should be in Rootfiles/left_dvcs_runnumber.root

For: developer: HOWTO make changes and recompile the DVCS decoding software

You want to update TDVCSCalo::Decode in /adaqfs/home/a-onl/dvcs12/onldvcs

For private versions while developing, you can make a copy of:

  • cp -r /adaqfs/home/a-onl/dvcs12/onldvcs mypersonaldir
  • cp /adaqfs/home/a-onl/dvcs12/onlana/ReplayCore.C mypersonaldir
  • cp /adaqfs/home/a-onl/dvcs12/onlana/rootlogon.C mypersonaldir
  • cp /adaqfs/home/a-onl/dvcs12/onlana/replay_DVCS.C mypersonaldir

You can compile by doing make in your private copy mypersonaldir and then load the libTDVCSCalo.so just created in your private copy of replay_DVCS.C

After you are happy with your version, just copy TDVCSCalo.cxx to /adaqfs/home/a-onl/dvcs12/onldvcs and do make there for everyone to enjoy...